MastodonInstanceUrls class
URL settings for the instance (configuration.urls).
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.snake)
Constructors
- MastodonInstanceUrls({String? streaming, String? status, String? about, String? privacyPolicy, String? termsOfService})
-
const
-
MastodonInstanceUrls.fromJson(Map<
String, dynamic> json) -
factory
Properties
- about → String?
-
URL of the instance about page.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- privacyPolicy → String?
-
URL of the privacy policy.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → String?
-
URL of the instance status page.
final
- streaming → String?
-
WebSocket streaming connection URL.
final
- termsOfService → String?
-
URL of the terms of service.
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