Link class base

Annotations
  • @immutable

Constructors

Link with href. Optional: rel, type, hreflang, title, length.
const
Link.fromJson(Map<String, Object?> json)
A link from decoded JSON objects.

Properties

hashCode int
The hash code for this object.
no setterinherited
href String
The href part of a link.
final
hreflang String?
An optional hreflang part of a link.
final
length int?
An optional length part of a link.
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
rel String?
An optional rel part of a link.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
title String?
An optional title part of a link.
final
type String?
An optional type part of a link.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited