Phone.fromNative constructor
Phone.fromNative(
- Map data
Create a Phone from native data.
Implementation
Phone.fromNative(Map data)
: number = data['number'] as String?,
type = PhoneType.values[data['type'] as int];