inputActiveSourcePortTypeGetSetFromJson function
InputActiveSourcePortTypeGetSet
inputActiveSourcePortTypeGetSetFromJson(
- Object? inputActiveSourcePortTypeGetSet, [
- InputActiveSourcePortTypeGetSet? defaultValue
Implementation
enums.InputActiveSourcePortTypeGetSet inputActiveSourcePortTypeGetSetFromJson(
Object? inputActiveSourcePortTypeGetSet, [
enums.InputActiveSourcePortTypeGetSet? defaultValue,
]) {
return enums.InputActiveSourcePortTypeGetSet.values.firstWhereOrNull((e) =>
e.value.toString().toLowerCase() ==
inputActiveSourcePortTypeGetSet?.toString().toLowerCase()) ??
defaultValue ??
enums.InputActiveSourcePortTypeGetSet.swaggerGeneratedUnknown;
}