RequestApi.get constructor

RequestApi.get({
  1. required String url,
  2. Map<String, String>? headers,
  3. bool enableCache = false,
})

Implementation

RequestApi.get({
  required String url,
  this.headers,
  this.enableCache = false,
})  : method = "GET",
      body = {},
      files = [],
      uri = Uri.parse(url),
      bodyJson = {};