toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.connections != null) {
json[r'connections'] = this.connections;
} else {
json[r'connections'] = null;
}
if (this.userId != null) {
json[r'user_id'] = this.userId;
} else {
json[r'user_id'] = null;
}
if (this.accounts != null) {
json[r'accounts'] = this.accounts;
} else {
json[r'accounts'] = null;
}
return json;
}