inputPortsSdiSdiPortNumberDynacalGreenGamutGetSetListToJson function

List<String> inputPortsSdiSdiPortNumberDynacalGreenGamutGetSetListToJson(
  1. List<InputPortsSdiSdiPortNumberDynacalGreenGamutGetSet>? inputPortsSdiSdiPortNumberDynacalGreenGamutGetSet
)

Implementation

List<String> inputPortsSdiSdiPortNumberDynacalGreenGamutGetSetListToJson(
    List<enums.InputPortsSdiSdiPortNumberDynacalGreenGamutGetSet>?
        inputPortsSdiSdiPortNumberDynacalGreenGamutGetSet) {
  if (inputPortsSdiSdiPortNumberDynacalGreenGamutGetSet == null) {
    return [];
  }

  return inputPortsSdiSdiPortNumberDynacalGreenGamutGetSet
      .map((e) => e.value!)
      .toList();
}