inputPortsDviDviPortNumberDynacalWhiteGamutGetSetFromJson function

InputPortsDviDviPortNumberDynacalWhiteGamutGetSet inputPortsDviDviPortNumberDynacalWhiteGamutGetSetFromJson(
  1. Object? inputPortsDviDviPortNumberDynacalWhiteGamutGetSet, [
  2. InputPortsDviDviPortNumberDynacalWhiteGamutGetSet? defaultValue
])

Implementation

enums.InputPortsDviDviPortNumberDynacalWhiteGamutGetSet
    inputPortsDviDviPortNumberDynacalWhiteGamutGetSetFromJson(
  Object? inputPortsDviDviPortNumberDynacalWhiteGamutGetSet, [
  enums.InputPortsDviDviPortNumberDynacalWhiteGamutGetSet? defaultValue,
]) {
  return enums.InputPortsDviDviPortNumberDynacalWhiteGamutGetSet.values
          .firstWhereOrNull((e) =>
              e.value.toString().toLowerCase() ==
              inputPortsDviDviPortNumberDynacalWhiteGamutGetSet
                  ?.toString()
                  .toLowerCase()) ??
      defaultValue ??
      enums.InputPortsDviDviPortNumberDynacalWhiteGamutGetSet
          .swaggerGeneratedUnknown;
}