toSlug property

String toSlug

Convert string into slug

Implementation

String get toSlug => trim().toLowerCase().replaceAll(' ', '-');