GetRequest<T> constructor

const GetRequest<T>({
  1. required String endpoint,
  2. T fromJson(
    1. dynamic json
    )?,
  3. String version = '',
  4. Map<String, dynamic>? query,
  5. ApiGetRequestOptions? options,
})

Implementation

const GetRequest({
  required super.endpoint,
  super.fromJson,
  super.version = '',
  super.query,
  ApiGetRequestOptions? options,
})  : getOptions = options,
      super(options: options);