getString method
Get request string value
Implementation
String getString() => RegExp(r'^[a-z\d]+\-[a-z\d]+\-[a-z\d]+\-[a-z\d]+\-[a-z\d]+(\.[a-zA-Z]+)?$').hasMatch(uri.pathSegments.last)
? uri.pathSegments.last
: throw AppException.notFound();