CustomNotification constructor
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,
Implementation
CustomNotification(
{this.sessionId,
this.sessionType,
this.fromAccount,
this.time,
this.content,
this.apnsText,
this.pushPayload,
this.config,
this.antiSpamOption,
this.env,
this.sendToOnlineUserOnly = true});