postWithPath<T> abstract method
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,
});