streamPauseMedia method

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

Implementation

@override
Future<String?> streamPauseMedia(String id) {
  try {
    return methodChannel.invokeMethod<String>('streamPauseMedia', {'id': id});
  } on PlatformException catch (e) {
    throw PlatformException(
      code: 'PAUSE_ERROR',
      message: e.message,
      details: e.toString(),
    );
  }
}