postWithPath<T> abstract method

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

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

Implementation

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