ADATransaction.fromJson constructor

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

Implementation

factory ADATransaction.fromJson(Map<String, dynamic> json) {
  return ADATransaction(
      body: TransactionBody.fromJson(json["body"]),
      witnessSet: TransactionWitnessSet.fromJson(json["witness_set"]),
      data: json["auxiliary_data"] == null
          ? null
          : AuxiliaryData.fromJson(json["auxiliary_data"]),
      isValid: json["is_valid"]);
}