v1CreateSmartContractInterfaceIntent.fromJson constructor
v1CreateSmartContractInterfaceIntent.fromJson(
- Map<String, dynamic> json
)
Implementation
factory v1CreateSmartContractInterfaceIntent.fromJson(Map<String, dynamic> json) {
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 v1CreateSmartContractInterfaceIntent(
smartContractAddress: _smartContractAddress,
smartContractInterface: _smartContractInterface,
type: _type,
label: _label,
notes: _notes,
);
}