toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
if (id != null) {
_json[r'id'] = id;
}
if (userId != null) {
_json[r'user_id'] = userId;
}
if (description != null) {
_json[r'description'] = description;
}
if (isActive != null) {
_json[r'is_active'] = isActive;
}
return _json;
}