toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'id'] = this.id;
json[r'protocol'] = this.protocol;
json[r'provider'] = this.provider;
json[r'name'] = this.name;
if (this.logoPublicUrl != null) {
json[r'logo_public_url'] = this.logoPublicUrl;
} else {
json[r'logo_public_url'] = null;
}
if (this.domain != null) {
json[r'domain'] = this.domain;
} else {
json[r'domain'] = null;
}
json[r'domains'] = this.domains;
json[r'active'] = this.active;
json[r'sync_user_attributes'] = this.syncUserAttributes;
json[r'allow_subdomains'] = this.allowSubdomains;
json[r'allow_idp_initiated'] = this.allowIdpInitiated;
json[r'disable_additional_identifications'] =
this.disableAdditionalIdentifications;
json[r'created_at'] = this.createdAt;
json[r'updated_at'] = this.updatedAt;
return json;
}