toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'id'] = this.id;
    json[r'tenant'] = this.tenant;
    json[r'name'] = this.name;
    json[r'client_id'] = this.clientId;
    json[r'client_secret'] = this.clientSecret;
    json[r'app_token'] = this.appToken;
    json[r'verification_token'] = this.verificationToken;
    json[r'provider'] = this.provider;
  if (this.config != null) {
    json[r'config'] = this.config;
  } else {
    json[r'config'] = null;
  }
  return json;
}