toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
if (enable != null) {
_json[r'Enable'] = enable;
}
if (secret != null) {
_json[r'Secret'] = secret;
}
if (id != null) {
_json[r'Id'] = id;
}
if (scope != null) {
_json[r'Scope'] = scope;
}
if (authEndpoint != null) {
_json[r'AuthEndpoint'] = authEndpoint;
}
if (tokenEndpoint != null) {
_json[r'TokenEndpoint'] = tokenEndpoint;
}
if (userApiEndpoint != null) {
_json[r'UserApiEndpoint'] = userApiEndpoint;
}
return _json;
}