fromJson static method

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

Implementation

static SpecVersionRecord fromJson(Map<String, dynamic> json) {
  return SpecVersionRecord(
    specName: json['specName'],
    specVersion: json['specVersion'],
    blockNumber: json['blockNumber'],
    blockHash: json['blockHash'],
  );
}