stopStream static method

Future<void> stopStream(
  1. String streamId
)

Implementation

static Future<void> stopStream(String streamId) async {
  try {
    await _channel.invokeMethod<void>('stopStream', {'streamId': streamId});
  } on PlatformException catch (e) {
    throw WearablesError(
      code: e.code,
      description: e.message ?? 'Stop stream failed',
    );
  }
}