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