inputPortsDviDviPortNumberDynacalGreenGamutGetSetFromJson function

InputPortsDviDviPortNumberDynacalGreenGamutGetSet inputPortsDviDviPortNumberDynacalGreenGamutGetSetFromJson(
  1. Object? inputPortsDviDviPortNumberDynacalGreenGamutGetSet, [
  2. InputPortsDviDviPortNumberDynacalGreenGamutGetSet? defaultValue
])

Implementation

enums.InputPortsDviDviPortNumberDynacalGreenGamutGetSet
    inputPortsDviDviPortNumberDynacalGreenGamutGetSetFromJson(
  Object? inputPortsDviDviPortNumberDynacalGreenGamutGetSet, [
  enums.InputPortsDviDviPortNumberDynacalGreenGamutGetSet? defaultValue,
]) {
  return enums.InputPortsDviDviPortNumberDynacalGreenGamutGetSet.values
          .firstWhereOrNull((e) =>
              e.value.toString().toLowerCase() ==
              inputPortsDviDviPortNumberDynacalGreenGamutGetSet
                  ?.toString()
                  .toLowerCase()) ??
      defaultValue ??
      enums.InputPortsDviDviPortNumberDynacalGreenGamutGetSet
          .swaggerGeneratedUnknown;
}