MastodonMarker class

Timeline read position marker model.

Annotations

Constructors

MastodonMarker({required String lastReadId, required int version, DateTime? updatedAt})
Creates a MastodonMarker with the given fields.
const
MastodonMarker.fromJson(Map<String, dynamic> json)
Creates a MastodonMarker from a JSON map.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
lastReadId String
ID of the last viewed entity (status or notification).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updatedAt DateTime?
Timestamp when the marker was set.
final
version int
Version counter for write conflict prevention.
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