streamDeleteMedia method

  1. @override
Future<String?> streamDeleteMedia(
  1. String id
)
override

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;
  //   }
  // }
}