from static method
Implementation
static Future<MapFile> from(String filename, int? timestamp, String? language,
{ReadbufferSource? source}) async {
MapFile mapFile = MapFile._(timestamp, language);
await mapFile._init(source != null ? source : ReadbufferFile(filename));
return mapFile;
}