getMyUser method

Future<GetMyUser$Query> getMyUser()

Returns the current authenticated MyUser.

Authentication

Mandatory.

Implementation

Future<GetMyUser$Query> getMyUser() async {
  Log.debug('getMyUser()', '$runtimeType');

  QueryResult res = await client.query(
    QueryOptions(
      operationName: 'GetMyUser',
      document: GetMyUserQuery().document,
    ),
  );
  return GetMyUser$Query.fromJson(res.data!);
}