fromJson static method

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

Implementation

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