HashHeight.fromJson constructor

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

Implementation

HashHeight.fromJson(Map<String, dynamic> json) {
  hash = Hash.parse(json['hash']);
  height = json['height'];
}