getWithPath<T> abstract method

Future<T> getWithPath<T>(
  1. String path, {
  2. required bool requiresAuth,
  3. required T fromJson(
    1. Map<String, dynamic>
    ),
})

Perform a GET with custom path (for parameterized endpoints).

Implementation

Future<T> getWithPath<T>(
  String path, {
  required bool requiresAuth,
  required T Function(Map<String, dynamic>) fromJson,
});