cutSlashinString static method

String? cutSlashinString(
  1. String? str
)

Implementation

static String? cutSlashinString(String? str) => (str
    ?.replaceAll("/", "")
    .replaceAll("\\", "")
    .replaceAll(":", "")
    .replaceAll("*", "")
    .replaceAll("?", "")
    .replaceAll("\"", "")
    .replaceAll("", "")
    .replaceAll("<", "")
    .replaceAll(">", "")
    .replaceAll("-", "")
    .replaceAll("&", "")
    .replaceAll("|", ""));