toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => <String, dynamic>{
  'channelId': this.channelId,
  'clickAction': this.clickAction,
  'color': this.color,
  'count': this.count,
  'imageUrl': this.imageUrl,
  'link': this.link,
  'priority': convertAndroidNotificationPriorityToInt(this.priority),
  'smallIcon': this.smallIcon,
  'sound': this.sound,
  'ticker': this.ticker,
  'visibility':
  convertAndroidNotificationVisibilityToInt(this.visibility),
  'tag': this.tag,
};