hasValidName property

bool get hasValidName

Whether the table name can be converted to a valid Dart class name.

Returns true if the table name follows valid Dart identifier rules after snake_case to PascalCase conversion.

Implementation

bool get hasValidName => isValidDartClassName(name);