accountSelectionCardinalityListFromJson function
List<AccountSelectionCardinality>
accountSelectionCardinalityListFromJson(
- List? accountSelectionCardinality, [
- List<
AccountSelectionCardinality> ? defaultValue
Implementation
List<enums.AccountSelectionCardinality> accountSelectionCardinalityListFromJson(
List? accountSelectionCardinality, [
List<enums.AccountSelectionCardinality>? defaultValue,
]) {
if (accountSelectionCardinality == null) {
return defaultValue ?? [];
}
return accountSelectionCardinality
.map((e) => accountSelectionCardinalityFromJson(e.toString()))
.toList();
}