CustomNotification constructor Null safety

CustomNotification(
  1. {String? sessionId,
  2. NIMSessionType? sessionType,
  3. String? fromAccount,
  4. int? time,
  5. String? content,
  6. String? apnsText,
  7. Map<String, dynamic>? pushPayload,
  8. CustomNotificationConfig? config,
  9. NIMAntiSpamOption? antiSpamOption,
  10. String? env}
)

Implementation

CustomNotification(
    {this.sessionId,
    this.sessionType,
    this.fromAccount,
    this.time,
    this.content,
    this.apnsText,
    this.pushPayload,
    this.config,
    this.antiSpamOption,
    this.env});