Links class

Available extensions
Annotations
  • @freezed

Constructors

Links.new({@Default(comAtprotoServerDescribeServerLinks) @JsonKey(name: r'$type') String $type, String? privacyPolicy, String? termsOfService, @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown})
const
factory
Links.fromJson(Map<String, dynamic> json)
factory

Properties

$type String
The unique namespace for this lex object.
no setterinherited
$unknown Map<String, dynamic>?
Contains unknown objects not defined in Lexicon.
no setterinherited
copyWith → $LinksCopyWith<Links>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
hasNotPrivacyPolicy bool

Available on Links, provided by the $LinksExtension extension

Returns true if privacyPolicy is null, otherwise false.
no setter
hasNotTermsOfService bool

Available on Links, provided by the $LinksExtension extension

Returns true if termsOfService is null, otherwise false.
no setter
hasNotUnknown bool

Available on Links, provided by the $LinksExtension extension

Returns true if this object has not unknown objects, otherwise false.
no setter
hasPrivacyPolicy bool

Available on Links, provided by the $LinksExtension extension

Returns true if privacyPolicy is not null, otherwise false.
no setter
hasTermsOfService bool

Available on Links, provided by the $LinksExtension extension

Returns true if termsOfService is not null, otherwise false.
no setter
hasUnknown bool

Available on Links, provided by the $LinksExtension extension

Returns true if this object has unknown objects, otherwise false.
no setter
privacyPolicy String?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
termsOfService String?
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