fromBlob method

  1. @override
Future<Texture?> fromBlob(
  1. Blob blob
)
override

blob - a blob of the file to be loaded

Implementation

@override
Future<Texture?> fromBlob(Blob blob) async{
  final String url = String.fromCharCodes(blob.data).toString().substring(0,50);
  final ImageElement? image = await ImageLoader(manager,flipY).fromBlob(blob);
  return _textureProcess(image,url);
}