Phone
data class Phone(val formattedPhone: String, val phoneNumber: String, val country: SelectedCountry?, val isValid: Boolean)(source)
Represents a phone number along with its metadata and validation state.
This model is useful for managing both the raw and formatted versions of a phone number, while also keeping track of the associated country and validation status.
Constructors
Link copied to clipboard
constructor(formattedPhone: String, phoneNumber: String, country: SelectedCountry?, isValid: Boolean)
Properties
Link copied to clipboard
The SelectedCountry associated with this phone number, if available.
Link copied to clipboard
The user-facing, formatted phone number (e.g., "(202) 555-0199").
Link copied to clipboard
The raw/unformatted phone number digits (e.g., "2025550199").