Convert string into slug
string
static String toSlug(String string) => string.trim().toLowerCase().replaceAll(" ", "-");