UpdateActiveNotifications.fromJson constructor

UpdateActiveNotifications.fromJson(
  1. Map<String, dynamic> json
)

Parse from a json

Implementation

UpdateActiveNotifications.fromJson(Map<String, dynamic> json) {
  this.groups = List<NotificationGroup>.from((json['groups'] ?? [])
      .map((item) => NotificationGroup.fromJson(item ?? <String, dynamic>{}))
      .toList());
  this.extra = json['@extra'];
}