Media.file constructor

Media.file(
  1. File file, {
  2. bool parse = false,
  3. Map<String, dynamic>? extras,
  4. Duration timeout = const Duration(seconds: 10),
  5. dynamic startTime = Duration.zero,
  6. dynamic stopTime = Duration.zero,
})

Makes Media object from a File.

Implementation

factory Media.file(
  File file, {
  bool parse: false,
  Map<String, dynamic>? extras,
  Duration timeout: const Duration(seconds: 10),
  startTime: Duration.zero,
  stopTime: Duration.zero,
}) {
  throw UnimplementedError('The platform is not supported');
}