inputPortsDviDviPortNumberDynacalBlueGamutGetSetFromJson function

InputPortsDviDviPortNumberDynacalBlueGamutGetSet inputPortsDviDviPortNumberDynacalBlueGamutGetSetFromJson(
  1. Object? inputPortsDviDviPortNumberDynacalBlueGamutGetSet, [
  2. InputPortsDviDviPortNumberDynacalBlueGamutGetSet? defaultValue
])

Implementation

enums.InputPortsDviDviPortNumberDynacalBlueGamutGetSet
    inputPortsDviDviPortNumberDynacalBlueGamutGetSetFromJson(
  Object? inputPortsDviDviPortNumberDynacalBlueGamutGetSet, [
  enums.InputPortsDviDviPortNumberDynacalBlueGamutGetSet? defaultValue,
]) {
  return enums.InputPortsDviDviPortNumberDynacalBlueGamutGetSet.values
          .firstWhereOrNull((e) =>
              e.value.toString().toLowerCase() ==
              inputPortsDviDviPortNumberDynacalBlueGamutGetSet
                  ?.toString()
                  .toLowerCase()) ??
      defaultValue ??
      enums.InputPortsDviDviPortNumberDynacalBlueGamutGetSet
          .swaggerGeneratedUnknown;
}