fromFile static method
Loads an Atlas from the file atlasFileName
.
Throws an Exception in case the atlas could not be loaded.
Implementation
static Future<Atlas> fromFile(String atlasFileName) async {
return _load(atlasFileName, (file) => File(file).readAsBytes());
}