initiateQrSession method

  1. @override
Future<Session?> initiateQrSession(
  1. String appKey,
  2. String sessionId,
  3. String? publicUserId
)
override

Implementation

@override
Future<Session?> initiateQrSession(
    String appKey, String sessionId, String? publicUserId) async {
  dynamic sessionObject = await methodChannel.invokeMethod<dynamic>(
      'initiateQrSession', {
    'appKey': appKey,
    'sessionId': sessionId,
    'publicUserId': publicUserId
  });

  Session session = Session.fromJson(sessionObject);
  return session;
}