label property
@JsonKey(defaultValue: WebsiteLabel.homepage), read / write
The label or type of URL it is. If custom
, the free-form label can be
found in customLabel.
+----------+---------+-----+ | Label | Android | iOS | +----------+---------+-----+ | blog | ✅ | ❌ | | ftp | ✅ | ❌ | | home | ✅ | ✅ | | homepage | ✅ | ✅ | | profile | ✅ | ❌ | | school | ❌ | ✅ | | work | ✅ | ✅ | | other | ✅ | ✅ | | custom | ✅ | ✅ | +----------+---------+-----+
Implementation
@JsonKey(defaultValue: WebsiteLabel.homepage)
WebsiteLabel label;