streamDeleteMedia method
Implementation
@override
Future<String?> streamDeleteMedia(String id) {
try {
return methodChannel
.invokeMethod<String>('streamDeleteMedia', {'id': id});
} catch (e) {
rethrow;
}
// if (Platform.isIOS) {
// throw PlatformException(
// code: 'DELETE_ERROR',
// message: 'Failed to delete request',
// );
// } else {
// try {
// return methodChannel
// .invokeMethod<String>('streamDeleteMedia', {'id': id});
// } catch (e) {
// rethrow;
// }
// }
}