isValidFolderName static method

bool isValidFolderName(
  1. String name
)

Implementation

static bool isValidFolderName(String name) => !(name.isEmpty ||
    name.contains("/") ||
    name.contains("\\") ||
    name.contains(">") ||
    name.contains("<") ||
    name.contains(":") ||
    name.contains("\"") ||
    name.contains("|") ||
    name.contains("?") ||
    name.contains("*"));