getSession method

Future<String> getSession()

Implementation

Future<String> getSession() async {
  final String? session = await _channel.invokeMethod(_METHOD_GET_SESSION);
  if (session == null) {
    throw NullThrownError();
  }
  return session;
}