auth method

  1. @override
Future<String?> auth(
  1. String userId, {
  2. String? userAuthKey,
  3. String? userHash,
})
override

Implementation

@override
Future<String?> auth(String userId,
    {String? userAuthKey, String? userHash}) async {
  String? carrotId = await methodChannel.invokeMethod<String>('auth', {
    'user_id': userId,
    'user_auth_key': userAuthKey,
    'user_hash': userHash
  });
  return carrotId;
}