addressPurposeLabelNullableListFromJson function
List<AddressPurposeLabel> ?
addressPurposeLabelNullableListFromJson(
- List? addressPurposeLabel, [
- List<
AddressPurposeLabel> ? defaultValue
Implementation
List<enums.AddressPurposeLabel>? addressPurposeLabelNullableListFromJson(
List? addressPurposeLabel, [
List<enums.AddressPurposeLabel>? defaultValue,
]) {
if (addressPurposeLabel == null) {
return defaultValue;
}
return addressPurposeLabel
.map((e) => addressPurposeLabelFromJson(e.toString()))
.toList();
}