MastodonInstanceV1Stats class
v1 instance statistics.
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.snake)
Constructors
- MastodonInstanceV1Stats({required int userCount, required int statusCount, required int domainCount})
-
const
-
MastodonInstanceV1Stats.fromJson(Map<
String, dynamic> json) -
factory
Properties
- domainCount → int
-
Number of known domains.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusCount → int
-
Number of statuses.
final
- userCount → int
-
Number of registered users.
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