toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
_json[r'commitment'] = commitment;
_json[r'environment'] = environment;
_json[r'index'] = index;
_json[r'mint'] = mint;
_json[r'lastValidBlockHeight'] = lastValidBlockHeight;
if (referenceId != null) {
_json[r'referenceId'] = referenceId;
} else {
_json[r'referenceId'] = null;
}
if (referenceType != null) {
_json[r'referenceType'] = referenceType;
} else {
_json[r'referenceType'] = null;
}
_json[r'tx'] = tx;
return _json;
}