INNER CODE UNIT · Dart

ArtemisClient

comigor/artemis · lib/client.dart:16

class ArtemisClient {
  HttpLink? _httpLink;
  final Link _link;

  /// Instantiate an [ArtemisClient].
  ///
  /// [DedupeLink] and [HttpLink] are included.
  /// To use different [Link] create an [ArtemisClient] with [ArtemisClient.fromLink].
  factory ArtemisClient(
    String graphQLEndpoint, {
    http.Client? httpClient,
  }) {
    final httpLink = HttpLink(
      graphQLEndpoint,
      httpClient: httpClient,
    );
    return ArtemisClient.fromLink(
      Link.from([

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…