fromJson static method

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

Implementation

static RawBlockExtrinsics fromJson(Map<String, dynamic> map) =>
    RawBlockExtrinsics(
      blockNumber: map['blockNumber'],
      header: map['header'] == null
          ? null
          : RpcBlockHeader.fromJson(map['header']),
      extrinsics: (map['extrinsics'] as List).cast<String>(),
    );