LiveStats constructor
const
LiveStats({})
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.
@JsonKey(toJson: iso8601) DateTime? lastUpdated,
Map<String, dynamic>? $unknown,
}) = _LiveStats;