Source
List<Field> get allInstanceProperties { if (_allInstanceProperties != null) return _allInstanceProperties; // TODO best way to make this a fixed length list? _allInstanceProperties = [] ..addAll([] ..addAll(instanceProperties) ..sort(byName)) ..addAll([] ..addAll(inheritedProperties) ..sort(byName)); return _allInstanceProperties; }