label property

PhoneLabel label
@JsonKey(defaultValue: PhoneLabel.mobile), read / write

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

+-------------+---------+-----+ | Label | Android | iOS | +-------------+---------+-----+ | assistant | ✅ | ❌ | | callback | ✅ | ❌ | | car | ✅ | ❌ | | companyMain | ✅ | ❌ | | faxHome | ✅ | ✅ | | faxOther | ✅ | ✅ | | faxWork | ✅ | ✅ | | home | ✅ | ✅ | | iPhone | ❌ | ✅ | | isdn | ✅ | ❌ | | main | ✅ | ✅ | | mms | ✅ | ❌ | | mobile | ✅ | ✅ | | pager | ✅ | ✅ | | radio | ✅ | ❌ | | school | ❌ | ✅ | | telex | ✅ | ❌ | | ttyTtd | ✅ | ❌ | | work | ✅ | ✅ | | workMobile | ✅ | ❌ | | workPager | ✅ | ❌ | | other | ✅ | ✅ | | custom | ✅ | ✅ | +-------------+---------+-----+

Implementation

@JsonKey(defaultValue: PhoneLabel.mobile)
PhoneLabel label;