homeownerConsentActionDTONullableFromJson function
- Object? homeownerConsentActionDTO, [
- HomeownerConsentActionDTO? defaultValue
Implementation
enums.HomeownerConsentActionDTO? homeownerConsentActionDTONullableFromJson(
Object? homeownerConsentActionDTO, [
enums.HomeownerConsentActionDTO? defaultValue,
]) {
if (homeownerConsentActionDTO == null) {
return null;
}
return enums.HomeownerConsentActionDTO.values
.firstWhereOrNull((e) => e.value == homeownerConsentActionDTO) ??
defaultValue;
}