formatTypes method

String formatTypes(
  1. List<String>? types
)

Implementation

String formatTypes(List<String>? types) {
  if (types == null || types.isEmpty) {
    return "";
  }
  return "&types=${types.join('|')}";
}