fromBytes method

  1. @override
Future<GLTFData?> fromBytes(
  1. Uint8List bytes
)
override

bytes - the loaded bytes of the file

Implementation

@override
Future<GLTFData?> fromBytes(Uint8List bytes) async{
  _init();
  ThreeFile tf = await _loader.fromBytes(bytes);
  return _parse(tf.data);
}