Media.network constructor

Media.network(
  1. dynamic url, {
  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 url.

Implementation

factory Media.network(
  dynamic url, {
  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');
}