toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (id != null) {
json[r'id'] = id;
}
if (oauthID != null) {
json[r'oauthID'] = oauthID;
}
json[r'name'] = name;
if (status != null) {
json[r'status'] = status;
}
return json;
}