TCreateSmartContractInterfaceResponse.fromJson constructor

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

Implementation

factory TCreateSmartContractInterfaceResponse.fromJson(
    Map<String, dynamic> json) {
  return TCreateSmartContractInterfaceResponse(
    activity: v1Activity.fromJson(json['activity'] as Map<String, dynamic>),
    result: json.containsKey('result') && json['result'] != null
        ? v1CreateSmartContractInterfaceResult
            .fromJson(json['result'] as Map<String, dynamic>)
        : null,
  );
}