StatusSource class

Represents a status's source as plain text.

Annotations
  • @freezed

Constructors

StatusSource({required String id, required String text, required String spoilerText})
const
factory
StatusSource.fromJson(Map<String, Object?> json)
factory

Properties

copyWith → $StatusSourceCopyWith<StatusSource>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String
ID of the status in the database.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spoilerText String
The plain text used to compose the status’s subject or content warning.
no setterinherited
text String
The plain text used to compose the status.
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