form1099TypeNullableListFromJson function
List<Form1099Type> ?
form1099TypeNullableListFromJson(
- List? form1099Type, [
- List<
Form1099Type> ? defaultValue
Implementation
List<enums.Form1099Type>? form1099TypeNullableListFromJson(
List? form1099Type, [
List<enums.Form1099Type>? defaultValue,
]) {
if (form1099Type == null) {
return defaultValue;
}
return form1099Type.map((e) => form1099TypeFromJson(e.toString())).toList();
}