ApiVersion.fromJson constructor
ApiVersion.fromJson(
- List json
Implementation
factory ApiVersion.fromJson(List<dynamic> json) {
return ApiVersion(
id: U64Codec.codec.decode(Input.fromHex(json[0] as String)),
version: json[1] as int,
);
}