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