fromJson static method

RpcBlockHeader fromJson(
  1. Map<String, dynamic> map
)

Implementation

static RpcBlockHeader fromJson(Map<String, dynamic> map) => RpcBlockHeader(
    number: map['number'],
    parentHash: map['parentHash'],
    digest: RpcBlockDigest.fromJson(map['digest']));