key property Null safety

dynamic key

Get the key associated with this object. Returns null if object has not been added to a box yet.

Implementation

dynamic get key => _key;