TronBlock.fromJson constructor

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

Implementation

factory TronBlock.fromJson(Map<String, dynamic> json) {
  return TronBlock._(
      blockHeader: BlockHeader.fromJson(json["block_header"]),
      blockID: json["blockID"]);
}