versionIsBelowOne property
InvalidGenerationSourceError
versionIsBelowOne
Implementation
InvalidGenerationSourceError get versionIsBelowOne {
return InvalidGenerationSourceError(
'The version of the database has to be a positive number.',
todo:
'Adjust the version of the annotation. e.g. @Database(version: 1, entities: [Person, Dog])',
element: _classElement,
);
}