Media.asset constructor
Media.asset(
- String asset, {
- dynamic startTime = Duration.zero,
Makes Media object from assets.
WARNING
This method only works for Flutter. Might result in an exception on Dart CLI.
Implementation
factory Media.asset(
String asset, {
startTime: Duration.zero,
}) {
throw UnimplementedError('The platform is not supported');
}