toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => <String, dynamic>{
  'android': this.android?.toJson(),
  'apple': this.apple?.toJson(),
  // 'web': this.web?.toJson(),
  // TODO RemoteNotification web
  'web': null,
  'title': this.title,
  'titleLocArgs': this.titleLocArgs,
  'titleLocKey': this.titleLocKey,
  'body': this.body,
  'bodyLocArgs': this.bodyLocArgs,
  'bodyLocKey': this.bodyLocKey,
};