assertStartsWithAtIfNotEmpty static method
Implementation
static void assertStartsWithAtIfNotEmpty(String? atSign) {
if (atSign != null && atSign.isNotEmpty && !atSign.startsWith('@')) {
throw InvalidSyntaxException('atSign $atSign does not start with an "@"');
}
}