inputPortsSdiSdiPortNumberDynacalWhiteGamutGetSetListToJson function

List<String> inputPortsSdiSdiPortNumberDynacalWhiteGamutGetSetListToJson(
  1. List<InputPortsSdiSdiPortNumberDynacalWhiteGamutGetSet>? inputPortsSdiSdiPortNumberDynacalWhiteGamutGetSet
)

Implementation

List<String> inputPortsSdiSdiPortNumberDynacalWhiteGamutGetSetListToJson(
    List<enums.InputPortsSdiSdiPortNumberDynacalWhiteGamutGetSet>?
        inputPortsSdiSdiPortNumberDynacalWhiteGamutGetSet) {
  if (inputPortsSdiSdiPortNumberDynacalWhiteGamutGetSet == null) {
    return [];
  }

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