AggregatedData constructor
const
AggregatedData({
- @JsonKey(name: 'total_seconds') required num totalSeconds,
- @JsonKey(name: 'is_up_to_date') required bool isUpToDate,
- @NumConverter() required num decimal,
- required AggregatedDataRange range,
- required String digital,
- required String text,
- required int timeout,
Implementation
const factory AggregatedData({
@JsonKey(name: 'total_seconds') required num totalSeconds,
@JsonKey(name: 'is_up_to_date') required bool isUpToDate,
@NumConverter() required num decimal,
required AggregatedDataRange range,
required String digital,
required String text,
required int timeout,
}) = _AggregatedData;