inputPortsDviDviPortNumberControlsColourSpaceColourGetSetFromJson function

InputPortsDviDviPortNumberControlsColourSpaceColourGetSet inputPortsDviDviPortNumberControlsColourSpaceColourGetSetFromJson(
  1. Object? inputPortsDviDviPortNumberControlsColourSpaceColourGetSet, [
  2. InputPortsDviDviPortNumberControlsColourSpaceColourGetSet? defaultValue
])

Implementation

enums.InputPortsDviDviPortNumberControlsColourSpaceColourGetSet
    inputPortsDviDviPortNumberControlsColourSpaceColourGetSetFromJson(
  Object? inputPortsDviDviPortNumberControlsColourSpaceColourGetSet, [
  enums.InputPortsDviDviPortNumberControlsColourSpaceColourGetSet? defaultValue,
]) {
  return enums.InputPortsDviDviPortNumberControlsColourSpaceColourGetSet.values
          .firstWhereOrNull((e) =>
              e.value.toString().toLowerCase() ==
              inputPortsDviDviPortNumberControlsColourSpaceColourGetSet
                  ?.toString()
                  .toLowerCase()) ??
      defaultValue ??
      enums.InputPortsDviDviPortNumberControlsColourSpaceColourGetSet
          .swaggerGeneratedUnknown;
}