LiveStats constructor
- @JsonSerializable.new(includeIfNull: false)
const
LiveStats(
{ - @Default.new('tools.ozone.report.defs#liveStats') String $type,
- int? pendingCount,
- int? actionedCount,
- int? escalatedCount,
- int? inboundCount,
- int? actionRate,
- int? avgHandlingTimeSec,
- DateTime? lastUpdated,
- Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory LiveStats({
@Default('tools.ozone.report.defs#liveStats') String $type,
/// Number of reports currently not closed.
int? pendingCount,
/// Number of reports closed today.
int? actionedCount,
/// Number of reports escalated today.
int? escalatedCount,
/// Reports received today.
int? inboundCount,
/// Percentage of reports actioned (actionedCount / inboundCount * 100), rounded to nearest integer.
int? actionRate,
/// Average time in seconds from report creation (or moderator assignment) to close.
int? avgHandlingTimeSec,
/// When these statistics were last computed.
DateTime? lastUpdated,
Map<String, dynamic>? $unknown,
}) = _LiveStats;