CustomNotification class Null safety

Constructors

CustomNotification({String? sessionId, NIMSessionType? sessionType, String? fromAccount, int? time, String? content, String? apnsText, Map<String, dynamic>? pushPayload, CustomNotificationConfig? config, NIMAntiSpamOption? antiSpamOption, String? env})
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.
read-only, inherited
pushPayload Map<String, dynamic>?
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
sendToOnlineUserOnly bool?
final
sessionId String?
final
sessionType NIMSessionType?
final
time int?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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