UsageStatistics class

Annotations
  • @freezed

Constructors

UsageStatistics({@JsonKey(name: 'day') @UnixTimestampConverter() required DateTime recordedAt, @JsonKey(name: 'uses') @IntConverter() required int usedCount, @JsonKey(name: 'accounts') @IntConverter() required int accountCount})
const
factory
UsageStatistics.fromJson(Map<String, Object?> json)
factory

Properties

accountCount int
The total of accounts using the tag within that day.
no setterinherited
copyWith → $UsageStatisticsCopyWith<UsageStatistics>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
recordedAt DateTime
The recorded date time of this history.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
usedCount int
The counted usage of the tag within that day.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited