toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
if (timestampMs != null) {
_json['timestampMs'] = timestampMs;
}
if (organizationId != null) {
_json['organizationId'] = organizationId;
}
_json['smartContractAddress'] = smartContractAddress;
_json['smartContractInterface'] = smartContractInterface;
_json['type'] = v1SmartContractInterfaceTypeToJson(type);
_json['label'] = label;
if (notes != null) {
_json['notes'] = notes;
}
return _json;
}