generate method

Future generate({
  1. required String imagePath,
  2. required String videoPath,
})

Generates a Live Photo (iOS) or Motion Photo (Android).

imagePath and videoPath are required. Returns a dynamic result:

  • iOS: bool indicating success (saved to Photos Library).
  • Android: String path to the generated Motion Photo file.

Implementation

Future<dynamic> generate({required String imagePath, required String videoPath}) {
  throw UnimplementedError('generate() has not been implemented.');
}