CustomNotification class
Constructors
-
CustomNotification({String? sessionId, NIMSessionType? sessionType, String? fromAccount, int? time, String? content, String? apnsText, Map<
String, dynamic> ? pushPayload, CustomNotificationConfig? config, NIMAntiSpamOption? antiSpamOption, String? env, bool? sendToOnlineUserOnly = true}) -
CustomNotification.fromMap(Map<
String, dynamic> param) -
factory
Properties
- antiSpamOption → NIMAntiSpamOption?
-
final
- apnsText → String?
-
final
- config → CustomNotificationConfig?
-
final
- content → String?
-
final
- env → String?
-
final
- fromAccount → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
pushPayload
→ Map<
String, dynamic> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sendToOnlineUserOnly → bool?
-
final
- sessionId → String?
-
final
- sessionType → NIMSessionType?
-
final
- time → int?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited