MiniProgramBackendSnapshot constructor

const MiniProgramBackendSnapshot({
  1. required String requestId,
  2. required MiniProgramBackendSnapshotStatus status,
  3. String? endpoint,
  4. String? method,
  5. int? statusCode,
  6. String? message,
  7. String? errorCode,
  8. Map<String, dynamic> data = const <String, dynamic>{},
  9. bool fromCache = false,
  10. DateTime? updatedAt,
})

Implementation

const MiniProgramBackendSnapshot({
  required this.requestId,
  required this.status,
  this.endpoint,
  this.method,
  this.statusCode,
  this.message,
  this.errorCode,
  this.data = const <String, dynamic>{},
  this.fromCache = false,
  this.updatedAt,
});