getSessionId method

  1. @override
Future<String> getSessionId()
override

Implementation

@override
Future<String> getSessionId() async {
  try {
    final String result = await methodChannel.invokeMethod(
      Method.getSessionId.value,
    );

    return result;
  } catch (e) {
    log("Failed to getSessionId", level: 3, error: e);
    rethrow;
  }
}