nullOnlyListFromJson function
Implementation
List<enums.NullOnly> nullOnlyListFromJson(
List? nullOnly, [
List<enums.NullOnly>? defaultValue,
]) {
if (nullOnly == null) {
return defaultValue ?? [];
}
return nullOnly.map((e) => nullOnlyFromJson(e.toString())).toList();
}