Future<TextureAtlas> withLoader(TextureAtlasLoader textureAtlasLoader, [ TextureAtlasFormat textureAtlasFormat = TextureAtlasFormat.JSONARRAY ])

Source

static Future<TextureAtlas> withLoader(
    TextureAtlasLoader textureAtlasLoader, [
    TextureAtlasFormat textureAtlasFormat = TextureAtlasFormat.JSONARRAY]) =>
        textureAtlasFormat.load(textureAtlasLoader);