ContractEstimateDeployResponse.fromJson constructor

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

Implementation

factory ContractEstimateDeployResponse.fromJson(Map<String, dynamic> json) =>
    ContractEstimateDeployResponse(
      jsonrpc: json["jsonrpc"],
      id: json["id"],
      result: json["result"] == null
          ? null
          : ContractEstimateDeployResponseResult.fromJson(json["result"]),
      error: json["error"] == null
          ? null
          : ContractEstimateDeployResponseError.fromJson(json["error"]),
    );