sqliteFieldsFromBuildStep method
Future<List<SqliteFields>>
sqliteFieldsFromBuildStep(
- BuildStep buildStep
)
inherited
Implementation
Future<List<SqliteFields>> sqliteFieldsFromBuildStep(BuildStep buildStep) async {
final annotatedElements = await getAnnotatedElements(buildStep);
return annotatedElements.where((e) => e.element is ClassElement).map((e) {
final sqlite = SqliteModelSerdesGenerator(e.element, e.annotation, repositoryName: '');
return SqliteFields(sqlite.element as ClassElement, sqlite.config);
}).toList();
}