readQuery$getLiveLeaderboardByCycleForCurrentUserPaginated method

Query$getLiveLeaderboardByCycleForCurrentUserPaginated? readQuery$getLiveLeaderboardByCycleForCurrentUserPaginated({
  1. required Variables$Query$getLiveLeaderboardByCycleForCurrentUserPaginated variables,
  2. bool optimistic = true,
})

Implementation

Query$getLiveLeaderboardByCycleForCurrentUserPaginated?
    readQuery$getLiveLeaderboardByCycleForCurrentUserPaginated({
  required Variables$Query$getLiveLeaderboardByCycleForCurrentUserPaginated
      variables,
  bool optimistic = true,
}) {
  final result = this.readQuery(
    graphql.Request(
      operation: graphql.Operation(
          document:
              documentNodeQuerygetLiveLeaderboardByCycleForCurrentUserPaginated),
      variables: variables.toJson(),
    ),
    optimistic: optimistic,
  );
  return result == null
      ? null
      : Query$getLiveLeaderboardByCycleForCurrentUserPaginated.fromJson(
          result);
}