ResolutionView constructor

const ResolutionView({
  1. @Default.new('tools.ozone.inbox.getReport#resolutionView') String $type,
  2. @ResolutionViewOutcomeConverter() required ResolutionViewOutcome outcome,
  3. String? actionTaken,
  4. @ResolutionViewScopeConverter() ResolutionViewScope? scope,
  5. @JsonKey.new(toJson: iso8601) required DateTime resolvedAt,
  6. Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory ResolutionView({
  @Default('tools.ozone.inbox.getReport#resolutionView') String $type,
  @ResolutionViewOutcomeConverter() required ResolutionViewOutcome outcome,

  /// Public action associated with this report's resolution. See the public action vocabulary table.
  String? actionTaken,
  @ResolutionViewScopeConverter() ResolutionViewScope? scope,
  @JsonKey(toJson: iso8601) required DateTime resolvedAt,

  Map<String, dynamic>? $unknown,
}) = _ResolutionView;