inputPortsDviDviPortNumberDynacalRedGamutGetSetFromJson function

InputPortsDviDviPortNumberDynacalRedGamutGetSet inputPortsDviDviPortNumberDynacalRedGamutGetSetFromJson(
  1. Object? inputPortsDviDviPortNumberDynacalRedGamutGetSet, [
  2. InputPortsDviDviPortNumberDynacalRedGamutGetSet? defaultValue
])

Implementation

enums.InputPortsDviDviPortNumberDynacalRedGamutGetSet
    inputPortsDviDviPortNumberDynacalRedGamutGetSetFromJson(
  Object? inputPortsDviDviPortNumberDynacalRedGamutGetSet, [
  enums.InputPortsDviDviPortNumberDynacalRedGamutGetSet? defaultValue,
]) {
  return enums.InputPortsDviDviPortNumberDynacalRedGamutGetSet.values
          .firstWhereOrNull((e) =>
              e.value.toString().toLowerCase() ==
              inputPortsDviDviPortNumberDynacalRedGamutGetSet
                  ?.toString()
                  .toLowerCase()) ??
      defaultValue ??
      enums.InputPortsDviDviPortNumberDynacalRedGamutGetSet
          .swaggerGeneratedUnknown;
}