Link class

Constructors

Link({required String? href, required String? type})
Returns a new Link instance.

Properties

hashCode → int
The hash code for this object.
no setteroverride
href ↔ String?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type ↔ String?
getter/setter pair

Methods

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

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → Link
Returns a new Link instance and imports its values from value if it's a Map, null otherwise.