Added constant annotations

This commit is contained in:
Tobe O 2018-08-24 10:18:43 -04:00
parent 849c4281bc
commit df136add69

View file

@ -1,9 +1,16 @@
const Orm orm = const Orm();
const Orm mongoDBOrm = const Orm(OrmType.mongoDB);
const Orm rethinkDBOrm = const Orm(OrmType.rethinkDB);
const Orm postgreSqlOrm = const Orm(OrmType.postgreSql);
const Orm mySqlOrm = const Orm(OrmType.mySql);
class Orm {
final OrmType type;
final String tableName;
const Orm({this.tableName});
const Orm(this.type, {this.tableName});
}
enum OrmType {