toJson method

Map<String, dynamic> toJson()

Implementation

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