get<T> method

Future<GetResult<T>> get<T>({
  1. T? as,
  2. required String path,
  3. bool encrypted = false,
  4. bool inIsolate = true,
  5. Map<String, dynamic> query = const {},
  6. Map<String, dynamic> body = const {},
})

Implementation

Future<GetResult<T>> get<T>({
  T? as,
  required String path,
  bool encrypted = false,
  bool inIsolate = true,
  Map<String, dynamic> query = const {},
  Map<String, dynamic> body = const {},
}) =>
    request<T>(
      as: as,
      path: path,
      method: GetMethod.get,
      encrypted: encrypted,
      inIsolate: inIsolate,
      query: query,
      body: body,
    );