FallbackNotice constructor

const FallbackNotice({
  1. required FallbackNoticeKind kind,
  2. required String fromModel,
  3. String? toModel,
  4. String? apiKeyName,
  5. required Duration delay,
  6. required int attempt,
  7. required String reason,
})

Creates a notice.

Implementation

const FallbackNotice({
  required this.kind,
  required this.fromModel,
  this.toModel,
  this.apiKeyName,
  required this.delay,
  required this.attempt,
  required this.reason,
});