toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
if (authMethod != null) {
_json[r'auth_method'] = authMethod;
}
if (username != null) {
_json[r'username'] = username;
}
return _json;
}