get method
Implementation
Future<Response?> get(
final String endpoint, {
required final Function(Response)? onSuccess,
required final Function(Response)? onError,
required final Function(dynamic)? onException,
final Map<String, String>? headers,
final Map<String, dynamic>? queryParams,
}) async =>
_request(
method: "GET",
endpoint: endpoint,
headers: headers,
queryParams: queryParams,
onSuccess: onSuccess,
onError: onError,
onException: onException,
);