platformDTONullableListFromJson function
- List? platformDTO, [
- List<
PlatformDTO> ? defaultValue
Implementation
List<enums.PlatformDTO>? platformDTONullableListFromJson(
List? platformDTO, [
List<enums.PlatformDTO>? defaultValue,
]) {
if (platformDTO == null) {
return defaultValue;
}
return platformDTO.map((e) => platformDTOFromJson(e.toString())).toList();
}