getUser method

Future<UserWithDetails> getUser({
  1. required String userId,
})

Implementation

Future<UserWithDetails> getUser({
  required String userId,
}) async {
  return await invokeMethod<UserWithDetails>(
    (j) => UserWithDetails.fromJson(j),
    'autogen_getUser',
    {
      'env': this.env.index,
      'accessToken': this.accessToken,
      'user_id': userId,
    },
  );
}