object_reference 1.1.0
object_reference: ^1.1.0 copied to clipboard
A simple object reference system in dart.
1.1.0 #
-
Removed dependencies of Flutter SDK
-
Renamed
RefExtension on ObjecttoRefObjectExtension on Object -
Added
RefExtension<T> on Ref<T> -
Increased Dart SDK constraints to
3.0.0
1.0.2 #
-
-
Changed calculation of
hashCode, because if the internal _ref held anIterableas it's value, then callinghashList, on the _ref caused anAssertationError.-
OLD
int get hashCode => hashValues(_ref.hashCode, hashList(_ref), value.hashCode); -
NEW
int get hashCode => hashValues(_ref.hashCode, value.hashCode);
-
-
-
- Added
test("Iterables", () { ... });for testing the new implementation ofRef.hashCode.
- Added
1.0.0 #
-
Added const_ref.dart.
-
Added extension.dart.
-
Added mutable_ref.dart.
-
Added ref.dart.
For detailed information of the added files, read their dartdoc.
-
Added tests in object_reference_test.dart.
-
Implemented README.md.
0.0.1 #
- Initial release.