getSession abstract method

Future<Session> getSession(
  1. String idOrCode
)

Fetches a session by its ID or by a 6 digit code. When loaded the callback will be invoked with the session object, or an error if the session could not be fetched.

Throws a PlatformException if the session cannot be fetched (e.g. no network connection or the ID is not valid).

Implementation

Future<Session> getSession(String idOrCode);