AppUsageDatum class
Holds a map of names of apps and their corresponding usage in seconds.
- Inheritance
-
- Object
- Data
- Datum
- AppUsageDatum
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)
Constructors
- AppUsageDatum(DateTime start, DateTime end)
-
AppUsageDatum.fromJson(Map<
String, dynamic> json) -
factory
Properties
- end ↔ DateTime
-
getter/setter pair
- format ↔ DataFormat
-
The
DataFormat
of this type ofDatum
.getter/setter pairinherited-setteroverride-getter - hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String?
-
An identifier for this
Datum
, unique across all data generated. If this datum is part of aMultiDatum
, then this id is null.getter/setter pairinherited -
lastUseForeground
↔ Map<
String, DateTime> -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- start ↔ DateTime
-
getter/setter pair
-
startRange
↔ Map<
String, DateTime> -
getter/setter pair
-
stopRange
↔ Map<
String, DateTime> -
getter/setter pair
- timestamp ↔ DateTime
-
The UTC timestamp when this data was generated on the device.
getter/setter pairinherited
-
usage
↔ Map<
String, int> -
A map of names of apps and their usage in seconds.
getter/setter pair
Methods
-
equivalentTo(
ConditionalEvent? event) → bool -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Return a JSON encoding of this datum.
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited