inputPortsSdiSdiPortNumberDynacalWhiteGamutGetSetFromJson function

InputPortsSdiSdiPortNumberDynacalWhiteGamutGetSet inputPortsSdiSdiPortNumberDynacalWhiteGamutGetSetFromJson(
  1. Object? inputPortsSdiSdiPortNumberDynacalWhiteGamutGetSet, [
  2. InputPortsSdiSdiPortNumberDynacalWhiteGamutGetSet? defaultValue
])

Implementation

enums.InputPortsSdiSdiPortNumberDynacalWhiteGamutGetSet
    inputPortsSdiSdiPortNumberDynacalWhiteGamutGetSetFromJson(
  Object? inputPortsSdiSdiPortNumberDynacalWhiteGamutGetSet, [
  enums.InputPortsSdiSdiPortNumberDynacalWhiteGamutGetSet? defaultValue,
]) {
  return enums.InputPortsSdiSdiPortNumberDynacalWhiteGamutGetSet.values
          .firstWhereOrNull((e) =>
              e.value.toString().toLowerCase() ==
              inputPortsSdiSdiPortNumberDynacalWhiteGamutGetSet
                  ?.toString()
                  .toLowerCase()) ??
      defaultValue ??
      enums.InputPortsSdiSdiPortNumberDynacalWhiteGamutGetSet
          .swaggerGeneratedUnknown;
}