isSet method

  1. @override
bool isSet()
override

Returns true if the value has been set. Returns false otherwise.

Implementation

@override
bool isSet() {
  return (_cache[this] as T?) == null ? false : true;
}