inputPortsSdiSdiPortNumberDynacalBlueGamutGetSetFromJson function

InputPortsSdiSdiPortNumberDynacalBlueGamutGetSet inputPortsSdiSdiPortNumberDynacalBlueGamutGetSetFromJson(
  1. Object? inputPortsSdiSdiPortNumberDynacalBlueGamutGetSet, [
  2. InputPortsSdiSdiPortNumberDynacalBlueGamutGetSet? defaultValue
])

Implementation

enums.InputPortsSdiSdiPortNumberDynacalBlueGamutGetSet
    inputPortsSdiSdiPortNumberDynacalBlueGamutGetSetFromJson(
  Object? inputPortsSdiSdiPortNumberDynacalBlueGamutGetSet, [
  enums.InputPortsSdiSdiPortNumberDynacalBlueGamutGetSet? defaultValue,
]) {
  return enums.InputPortsSdiSdiPortNumberDynacalBlueGamutGetSet.values
          .firstWhereOrNull((e) =>
              e.value.toString().toLowerCase() ==
              inputPortsSdiSdiPortNumberDynacalBlueGamutGetSet
                  ?.toString()
                  .toLowerCase()) ??
      defaultValue ??
      enums.InputPortsSdiSdiPortNumberDynacalBlueGamutGetSet
          .swaggerGeneratedUnknown;
}