Website class

A website.

Once created, no properties of an Website object may be changed.

Annotations
  • @immutable

Constructors

Website({String? label, required String website})
Constructs a Website instance.
const
Website.fromJson(String json)
Constructs a Website instance from a json string.
factory
Website.fromMap(Map<String, dynamic> map)
Constructs a Website instance from a map.

Properties

hashCode int
The hash code for this object.
no setteroverride
label String?
The label.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
website String
The URL of the website.
final

Methods

copyWith({String? label, String? website}) Website
Creates a copy of this Website instance but with the given fields replaced with the new values.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
Creates a JSON string representing this Website instance.
toMap() Map<String, dynamic>
Creates a Map<String, dynamic> representing this Website instance.
toString() String
A string representation of this object.
override

Operators

operator ==(covariant Website other) bool
The equality operator.
override