RequestApi.getUri constructor

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

Implementation

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