restore static method

TransactionBlockDataBuilder restore(
  1. Map<String, dynamic> data
)

Implementation

static TransactionBlockDataBuilder restore(Map<String, dynamic> data) {
	final transactionData = TransactionBlockDataBuilder(
      TransactionData.fromJson(data["version"] == 2 ? data : transactionDataFromV1(data))
    );

	return transactionData;
}