playAsset method

Future<void> playAsset(
  1. String asset, {
  2. List<FetchResourceModel> fetchResources = const [],
})

Implementation

Future<void> playAsset(String asset,
    {List<FetchResourceModel> fetchResources = const []}) {
  return play(source: asset,
      playMethod: 'playAsset',
      playArg: 'asset',
      fetchResources: fetchResources);
}