UpdateScopeNotificationSettings.fromJson constructor

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

Parse from a json

Implementation

UpdateScopeNotificationSettings.fromJson(Map<String, dynamic> json) {
  this.scope = NotificationSettingsScope.fromJson(
      json['scope'] ?? <String, dynamic>{});
  this.notificationSettings = ScopeNotificationSettings.fromJson(
      json['notification_settings'] ?? <String, dynamic>{});
  this.extra = json['@extra'];
}