getParams method
Get all the parameters
Implementation
Future<Map<String, dynamic>> getParams() async {
switch (method) {
case put:
case post:
case patch:
case delete:
return _generateInput();
case get:
default:
return url.queryParameters;
}
}