get method
GET请求
Implementation
Future<Response?> get(
String path, {
Map<String, dynamic>? params,
CancelToken? cancelToken,
Map<String, dynamic>? headers,
}) async {
Options options = Options(method: 'get', headers: headers);
return await request(
path,
options: options,
params: params,
cancelToken: cancelToken,
);
}