created different models
This commit is contained in:
9
lib/models/unit.dart
Normal file
9
lib/models/unit.dart
Normal file
@@ -0,0 +1,9 @@
|
||||
import '../src/enums.dart' show UnitType, System;
|
||||
|
||||
class Unit {
|
||||
final String name;
|
||||
final UnitType type;
|
||||
final System system;
|
||||
|
||||
Unit(this.name, this.type, {this.system = System.metric});
|
||||
}
|
||||
Reference in New Issue
Block a user