MastodonAsyncRefresh class
Status of an asynchronous refresh operation (experimental).
Corresponds to the response from GET /api/v1_alpha/async_refreshes/:id.
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.snake)
Constructors
- MastodonAsyncRefresh({required String id, required String status, int? resultCount})
-
const
-
MastodonAsyncRefresh.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Identifier of the asynchronous refresh.
final
- resultCount → int?
-
Number of results fetched or generated by this operation.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → String
-
Status. Either
running(in progress) orfinished(completed).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