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'lastValidBlockHeight'] = lastValidBlockHeight;
_json[r'mint'] = mint;
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;
}