inputPortsSdiSdiPortNumberDynacalGreenGamutGetSetFromJson function

InputPortsSdiSdiPortNumberDynacalGreenGamutGetSet inputPortsSdiSdiPortNumberDynacalGreenGamutGetSetFromJson(
  1. Object? inputPortsSdiSdiPortNumberDynacalGreenGamutGetSet, [
  2. InputPortsSdiSdiPortNumberDynacalGreenGamutGetSet? defaultValue
])

Implementation

enums.InputPortsSdiSdiPortNumberDynacalGreenGamutGetSet
    inputPortsSdiSdiPortNumberDynacalGreenGamutGetSetFromJson(
  Object? inputPortsSdiSdiPortNumberDynacalGreenGamutGetSet, [
  enums.InputPortsSdiSdiPortNumberDynacalGreenGamutGetSet? defaultValue,
]) {
  return enums.InputPortsSdiSdiPortNumberDynacalGreenGamutGetSet.values
          .firstWhereOrNull((e) =>
              e.value.toString().toLowerCase() ==
              inputPortsSdiSdiPortNumberDynacalGreenGamutGetSet
                  ?.toString()
                  .toLowerCase()) ??
      defaultValue ??
      enums.InputPortsSdiSdiPortNumberDynacalGreenGamutGetSet
          .swaggerGeneratedUnknown;
}