get<T> static method

Future<T> get<T>(
  1. String url, {
  2. Options? options,
  3. Map<String, dynamic>? queryParameters,
})

get请求

Implementation

static Future<T> get<T>(
  String url, {
  Options? options,
  Map<String, dynamic>? queryParameters,
}) async {
  return safeRequest<T>(
    url,
    options: options,
    queryParameters: queryParameters,
  );
}