verificationStatusNullableListFromJson function
List<VerificationStatus> ?
verificationStatusNullableListFromJson(
- List? verificationStatus, [
- List<
VerificationStatus> ? defaultValue
Implementation
List<enums.VerificationStatus>? verificationStatusNullableListFromJson(
List? verificationStatus, [
List<enums.VerificationStatus>? defaultValue,
]) {
if (verificationStatus == null) {
return defaultValue;
}
return verificationStatus
.map((e) => verificationStatusFromJson(e.toString()))
.toList();
}