Last updated:
0 purchases
nj api service
Usage #
static Future<YourApiResponse?> yourApi(Map<String, dynamic> request) async {
final response = await ApiService.makeRequest(
'https://yourapiurl.com/endpoint', RequestType.get, request, headers);
Map<String, dynamic> jsonMap = ApiService.getResponse(response);
return YourApiResponse.fromJson(jsonMap);
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.