Address.fromNative constructor
Address.fromNative(
- Map data
Create a Address from native data.
Implementation
Address.fromNative(Map data)
: addressLines = List.unmodifiable(
(data['addressLines'] as List? ?? []).cast<String>(),
),
type = AddressType.values[data['type'] as int];