MiniProgramPagedBackendSnapshot constructor

const MiniProgramPagedBackendSnapshot({
  1. required String requestId,
  2. required MiniProgramBackendSnapshotStatus status,
  3. String? endpoint,
  4. String method = 'GET',
  5. int? statusCode,
  6. String? message,
  7. String? errorCode,
  8. List<Object?> items = const <Object?>[],
  9. Object? nextCursor,
  10. bool hasMore = false,
  11. int pageCount = 0,
  12. bool loadingMore = false,
  13. bool fromCache = false,
  14. DateTime? updatedAt,
})

Implementation

const MiniProgramPagedBackendSnapshot({
  required this.requestId,
  required this.status,
  this.endpoint,
  this.method = 'GET',
  this.statusCode,
  this.message,
  this.errorCode,
  this.items = const <Object?>[],
  this.nextCursor,
  this.hasMore = false,
  this.pageCount = 0,
  this.loadingMore = false,
  this.fromCache = false,
  this.updatedAt,
});