ResultOfGetBocHash.fromMap(Map<String, dynamic> map) { if (map.containsKey('hash') && (map['hash'] != null)) { _hash = map['hash']; } else { throw ('Wrong map data'); } }