toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final notification = this.notification;
  final subscribers = this.subscribers;
  return {
    'Notification': notification,
    'Subscribers': subscribers,
  };
}