inputPortsSdiSdiPortNumberDynacalRedGamutGetSetFromJson function

InputPortsSdiSdiPortNumberDynacalRedGamutGetSet inputPortsSdiSdiPortNumberDynacalRedGamutGetSetFromJson(
  1. Object? inputPortsSdiSdiPortNumberDynacalRedGamutGetSet, [
  2. InputPortsSdiSdiPortNumberDynacalRedGamutGetSet? defaultValue
])

Implementation

enums.InputPortsSdiSdiPortNumberDynacalRedGamutGetSet
    inputPortsSdiSdiPortNumberDynacalRedGamutGetSetFromJson(
  Object? inputPortsSdiSdiPortNumberDynacalRedGamutGetSet, [
  enums.InputPortsSdiSdiPortNumberDynacalRedGamutGetSet? defaultValue,
]) {
  return enums.InputPortsSdiSdiPortNumberDynacalRedGamutGetSet.values
          .firstWhereOrNull((e) =>
              e.value.toString().toLowerCase() ==
              inputPortsSdiSdiPortNumberDynacalRedGamutGetSet
                  ?.toString()
                  .toLowerCase()) ??
      defaultValue ??
      enums.InputPortsSdiSdiPortNumberDynacalRedGamutGetSet
          .swaggerGeneratedUnknown;
}