plaidErrorTypeNullableListFromJson function
List<PlaidErrorType> ?
plaidErrorTypeNullableListFromJson(
- List? plaidErrorType, [
- List<
PlaidErrorType> ? defaultValue
Implementation
List<enums.PlaidErrorType>? plaidErrorTypeNullableListFromJson(
List? plaidErrorType, [
List<enums.PlaidErrorType>? defaultValue,
]) {
if (plaidErrorType == null) {
return defaultValue;
}
return plaidErrorType
.map((e) => plaidErrorTypeFromJson(e.toString()))
.toList();
}