OutputContractCreated.fromJson constructor

OutputContractCreated.fromJson(
  1. Map<String, dynamic> data
)

Implementation

factory OutputContractCreated.fromJson(Map<String, dynamic> data) {
  return OutputContractCreated(
      contractId: addHexPrefix(data['contractId']),
      stateRoot: data['stateRoot']);
}