ApiContractResponseResult.fromJson constructor

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

Implementation

factory ApiContractResponseResult.fromJson(Map<String, dynamic> json) =>
    ApiContractResponseResult(
      address: json["address"],
      author: json["author"],
      deployTx:
          json["deployTx"] == null ? null : Tx.fromJson(json["deployTx"]),
      terminationTx: json["terminationTx"] == null
          ? null
          : Tx.fromJson(json["terminationTx"]),
      type: json["type"],
    );