toSlug property
String
toSlug
Convert string
into slug
Implementation
String get toSlug => trim().toLowerCase().replaceAll(' ', '-');
Convert string
into slug
String get toSlug => trim().toLowerCase().replaceAll(' ', '-');