OutputContract.fromJson constructor

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

Implementation

factory OutputContract.fromJson(Map<String, dynamic> data) {
  return OutputContract(
    inputIndex: data['inputIndex'],
    balanceRoot: data['balanceRoot'],
    stateRoot: data['stateRoot'],
  );
}