toJson method
Implementation
Map<String, dynamic> toJson() {
final address = this.address;
final status = this.status;
final type = this.type;
return {
if (address != null) 'Address': address,
if (status != null) 'Status': status.toValue(),
if (type != null) 'Type': type.toValue(),
};
}