isValidKey method Null safety
- Object? o
override
Test whether an object is a valid argument to equals and hash.
Some implementations may be restricted to only work on specific types of objects.
Implementation
@override
bool isValidKey(Object? o) =>
o is Iterable || o is Map || _base.isValidKey(o);