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