get method

Future<HTTPResult> get(
  1. String endpoint, {
  2. Map<String, String>? headers,
  3. bool requiresAuth = true,
  4. Duration? timeout,
})

Implementation

Future<HTTPResult> get(
  String endpoint, {
  Map<String, String>? headers,
  bool requiresAuth = true,
  Duration? timeout,
}) => _request(
  method: 'GET',
  endpoint: endpoint,
  headers: headers,
  requiresAuth: requiresAuth,
  timeout: timeout,
);