v1SmartContractInterface.fromJson constructor
v1SmartContractInterface.fromJson(
- Map<String, dynamic> json
)
Implementation
factory v1SmartContractInterface.fromJson(Map<String, dynamic> json) {
final _organizationId = json['organizationId'] as String;
final _smartContractInterfaceId = json['smartContractInterfaceId'] as String;
final _smartContractAddress = json['smartContractAddress'] as String;
final _smartContractInterface = json['smartContractInterface'] as String;
final _type = json['type'] as String;
final _label = json['label'] as String;
final _notes = json['notes'] as String;
final _createdAt = externaldatav1Timestamp.fromJson(json['createdAt'] as Map<String, dynamic>);
final _updatedAt = externaldatav1Timestamp.fromJson(json['updatedAt'] as Map<String, dynamic>);
return v1SmartContractInterface(
organizationId: _organizationId,
smartContractInterfaceId: _smartContractInterfaceId,
smartContractAddress: _smartContractAddress,
smartContractInterface: _smartContractInterface,
type: _type,
label: _label,
notes: _notes,
createdAt: _createdAt,
updatedAt: _updatedAt,
);
}