createSession static method
Implementation
static Future<String> createSession() async {
try {
final result = await _channel.invokeMethod<Map>('createSession');
return result?['sessionId'] as String;
} on PlatformException catch (e) {
throw WearablesError(
code: e.code,
description: e.message ?? 'Create session failed',
);
}
}