authenticate static method

Future<bool> authenticate({
  1. required String appId,
  2. required String appSecret,
  3. required String externalId,
})

Implementation

static Future<bool> authenticate(
    {required String appId,
    required String appSecret,
    required String externalId}) async {
  try {
    bool success = await _channel.invokeMethod('authenticate',
        {'appId': appId, 'appSecret': appSecret, 'externalId': externalId});
    return success;
  } on PlatformException catch (error) {
    return Future.error(error);
  }
}