extApiV2DataTypeNullableListFromJson function
List<ExtApiV2DataType> ?
extApiV2DataTypeNullableListFromJson(
- List? extApiV2DataType, [
- List<
ExtApiV2DataType> ? defaultValue
Implementation
List<enums.ExtApiV2DataType>? extApiV2DataTypeNullableListFromJson(
List? extApiV2DataType, [
List<enums.ExtApiV2DataType>? defaultValue,
]) {
if (extApiV2DataType == null) {
return defaultValue;
}
return extApiV2DataType
.map((e) => extApiV2DataTypeFromJson(e.toString()))
.toList();
}