MastodonAdminMeasure class
Admin-level measure (quantitative) data.
Represents quantitative statistical information about the server.
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.snake)
Constructors
-
MastodonAdminMeasure({required String key, String? unit, required String total, String? humanValue, String? previousTotal, List<
MastodonAdminMeasureData> data = const []}) -
const
-
MastodonAdminMeasure.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
data
→ List<
MastodonAdminMeasureData> -
List of daily data buckets.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- humanValue → String?
-
Human-readable representation of the value.
final
- key → String
-
Identifier key of the measure.
final
- previousTotal → String?
-
Total value for the previous period (string representation of an integer).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- total → String
-
Total value for the period (string representation of an integer).
final
- unit → String?
-
Unit of the value.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serializes to JSON.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited