switched to more Dart-like getters and setters