toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final android = this.android;
  final apns = this.apns;
  final condition = this.condition;
  final data = this.data;
  final fcmOptions = this.fcmOptions;
  final name = this.name;
  final notification = this.notification;
  final token = this.token;
  final topic = this.topic;
  final webpush = this.webpush;
  return {
    'android': ?android,
    'apns': ?apns,
    'condition': ?condition,
    'data': ?data,
    'fcmOptions': ?fcmOptions,
    'name': ?name,
    'notification': ?notification,
    'token': ?token,
    'topic': ?topic,
    'webpush': ?webpush,
  };
}