MiniProgramBackendQuery constructor

const MiniProgramBackendQuery({
  1. required String requestId,
  2. required String endpoint,
  3. String method = 'GET',
  4. Map<String, dynamic> body = const <String, dynamic>{},
  5. Duration? cacheTtl,
  6. bool forceRefresh = false,
})

Implementation

const MiniProgramBackendQuery({
  required this.requestId,
  required this.endpoint,
  this.method = 'GET',
  this.body = const <String, dynamic>{},
  this.cacheTtl,
  this.forceRefresh = false,
});