toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  json[r'object'] = this.object;
  json[r'id'] = this.id;
  json[r'instance_id'] = this.instanceId;
  json[r'name'] = this.name;
  json[r'client_id'] = this.clientId;
  json[r'public'] = this.public;
  json[r'scopes'] = this.scopes;
  json[r'redirect_uris'] = this.redirectUris;
  json[r'callback_url'] = this.callbackUrl;
  json[r'authorize_url'] = this.authorizeUrl;
  json[r'token_fetch_url'] = this.tokenFetchUrl;
  json[r'user_info_url'] = this.userInfoUrl;
  json[r'discovery_url'] = this.discoveryUrl;
  json[r'token_introspection_url'] = this.tokenIntrospectionUrl;
  json[r'created_at'] = this.createdAt;
  json[r'updated_at'] = this.updatedAt;
  return json;
}