fromByteData static method

Future<LottieComposition> fromByteData(
  1. ByteData data, {
  2. String? name,
  3. LottieImageProviderFactory? imageProviderFactory,
})

Implementation

static Future<LottieComposition> fromByteData(ByteData data,
    {String? name, LottieImageProviderFactory? imageProviderFactory}) {
  return fromBytes(data.buffer.asUint8List(),
      name: name, imageProviderFactory: imageProviderFactory);
}