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