inputPortsSdiSdiPortNumberDynacalBlueGamutGetSetListToJson function

List<String> inputPortsSdiSdiPortNumberDynacalBlueGamutGetSetListToJson(
  1. List<InputPortsSdiSdiPortNumberDynacalBlueGamutGetSet>? inputPortsSdiSdiPortNumberDynacalBlueGamutGetSet
)

Implementation

List<String> inputPortsSdiSdiPortNumberDynacalBlueGamutGetSetListToJson(
    List<enums.InputPortsSdiSdiPortNumberDynacalBlueGamutGetSet>?
        inputPortsSdiSdiPortNumberDynacalBlueGamutGetSet) {
  if (inputPortsSdiSdiPortNumberDynacalBlueGamutGetSet == null) {
    return [];
  }

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