toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'name'] = this.name;
  if (this.description != null) {
    json[r'description'] = this.description;
  } else {
    json[r'description'] = null;
  }
  if (this.redirectUris != null) {
    json[r'redirectUris'] = this.redirectUris;
  } else {
    json[r'redirectUris'] = null;
  }
  if (this.allowedScopes != null) {
    json[r'allowedScopes'] = this.allowedScopes;
  } else {
    json[r'allowedScopes'] = null;
  }
  return json;
}