readQuery$GetLastCommits method

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

Implementation

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