toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'notificationId': notificationId,
      'title': title,
      'content': content,
      'messageId': messageId,
      'inboxStyleContent': inboxStyleContent,
      'timestamp': timestamp,
      'style': style,
      'channel': channel,
      'extrasMap': extrasMap,
      'voice': voice,
      'shake': shake,
      'styleContent': styleContent,
      'light': light,
      'badge': badge,
      'sound': sound,
      'subTitle': subTitle
    };