TCreateSmartContractInterfaceBody.fromJson constructor

TCreateSmartContractInterfaceBody.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory TCreateSmartContractInterfaceBody.fromJson(Map<String, dynamic> json) {
  final _timestampMs = json['timestampMs'] as String?;
  final _organizationId = json['organizationId'] as String?;
  final _smartContractAddress = json['smartContractAddress'] as String;
  final _smartContractInterface = json['smartContractInterface'] as String;
  final _type = v1SmartContractInterfaceTypeFromJson(json['type']);
  final _label = json['label'] as String;
  final _notes = json['notes'] as String?;
  return TCreateSmartContractInterfaceBody(
    timestampMs: _timestampMs,
    organizationId: _organizationId,
    smartContractAddress: _smartContractAddress,
    smartContractInterface: _smartContractInterface,
    type: _type,
    label: _label,
    notes: _notes,
  );
}