loadMedia method

Future<void> loadMedia(
  1. String url, {
  2. String title = '',
  3. String subtitle = '',
  4. String image = '',
  5. bool? live,
})

Load a new media by providing an url.

Implementation

Future<void> loadMedia(
  String url, {
  String title = '',
  String subtitle = '',
  String image = '',
  bool? live,
}) {
  return chromeCastPlatform.loadMedia(
    url,
    title,
    subtitle,
    image,
    id: id,
    live: live,
  );
}