FireAtlas.deserializeBytes constructor
Reads a FireAtlas instance from a byte array.
Implementation
factory FireAtlas.deserializeBytes(List<int> bytes) {
final unzippedBytes = GZipDecoder().decodeBytes(bytes);
final unzippedString = utf8.decode(unzippedBytes);
return FireAtlas.deserializeJson(
jsonDecode(unzippedString) as Map<String, dynamic>,
);
}