earningsBreakdownCanonicalDescriptionNullableListFromJson function
List<EarningsBreakdownCanonicalDescription> ?
earningsBreakdownCanonicalDescriptionNullableListFromJson(
- List? earningsBreakdownCanonicalDescription, [
- List<
EarningsBreakdownCanonicalDescription> ? defaultValue
Implementation
List<enums.EarningsBreakdownCanonicalDescription>?
earningsBreakdownCanonicalDescriptionNullableListFromJson(
List? earningsBreakdownCanonicalDescription, [
List<enums.EarningsBreakdownCanonicalDescription>? defaultValue,
]) {
if (earningsBreakdownCanonicalDescription == null) {
return defaultValue;
}
return earningsBreakdownCanonicalDescription
.map((e) => earningsBreakdownCanonicalDescriptionFromJson(e.toString()))
.toList();
}