stopStreamSession method

  1. @override
Future<bool> stopStreamSession(
  1. String? deviceId
)
override

Implementation

@override
Future<bool> stopStreamSession(String? deviceId) async {
  final args = <String, dynamic>{};
  if (deviceId != null) {
    args['deviceId'] = deviceId;
  }
  final ok = await methodChannel.invokeMethod<bool>(
    'stopStreamSession',
    args,
  );
  return ok ?? false;
}