find method
Fetches one record from GET path/:id.
Implementation
Future<T> find(Object id) async {
final response = await router.get<Map<String, dynamic>>('$path/$id');
if (response.isError) throw response.error!;
return _toModel(_unwrap(response.data));
}