createCustomStreamFromAssetsFile method
Implementation
Future<int> createCustomStreamFromAssetsFile({
required String path,
required String tag,
bool replace = false,
bool playback = true,
}) async {
Map<String, dynamic> arguments = {
'assets': path,
'tag': tag,
'replace': replace,
'playback': playback,
};
int code = await _channel.invokeMethod('createCustomStreamFromFile', arguments) ?? -1;
return code;
}