stopBitsDTONullableListFromJson function
- List? stopBitsDTO, [
- List<
StopBitsDTO> ? defaultValue
Implementation
List<enums.StopBitsDTO>? stopBitsDTONullableListFromJson(
List? stopBitsDTO, [
List<enums.StopBitsDTO>? defaultValue,
]) {
if (stopBitsDTO == null) {
return defaultValue;
}
return stopBitsDTO.map((e) => stopBitsDTOFromJson(e.toString())).toList();
}