extApiV2DataTypeListToJson function

List<String> extApiV2DataTypeListToJson(
  1. List<ExtApiV2DataType>? extApiV2DataType
)

Implementation

List<String> extApiV2DataTypeListToJson(
    List<enums.ExtApiV2DataType>? extApiV2DataType) {
  if (extApiV2DataType == null) {
    return [];
  }

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