Website class Null safety

Labeled website.

Constructors

Website(String url, {WebsiteLabel label: WebsiteLabel.homepage, String customLabel: ''})
Website.fromJson(Map<String, dynamic> json)
factory

Properties

customLabel String
Custom label, if label is WebsiteLabel.custom.
read / write
hashCode int
The hash code for this object. [...]
read-only, override
label WebsiteLabel
Label (default WebsiteLabel.homepage).
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
url String
Website URL.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object. [...]
override
toVCard() List<String>

Operators

operator ==(Object o) bool
The equality operator. [...]
override