label property

AddressLabel label
@JsonKey(defaultValue: AddressLabel.home), read / write

The label or type of address it is. If custom, the free-form label can be found in customLabel.

+----------+---------+-----+ | Label | Android | iOS | +----------+---------+-----+ | home | ✅ | ✅ | | school | ❌ | ✅ | | work | ✅ | ✅ | | other | ✅ | ✅ | | custom | ✅ | ✅ | +----------+---------+-----+

Implementation

@JsonKey(defaultValue: AddressLabel.home)
AddressLabel label;