getParams method

Future<Map<String, String>> getParams([
  1. Map<String, String?> requestParams = const {}
])

a method that allows us to customize even complex params generations by default, we just return the params passed to the request here.

Implementation

Future<Map<String, String>> getParams(
    [Map<String, String?> requestParams = const {}]) async {
  return getParamsRaw(requestParams);
}