startStream static method

Future<void> startStream(
  1. String streamId
)

Implementation

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