type method

Type type()

Fetches exactly the strict runtime type of the dynamically wrapped inner memory state. Throws natively if empty.

Implementation

Type type() {
  if (!_hasValue) {
    throw StateError('Any is empty natively! Cannot fetch type.');
  }
  return _value.runtimeType;
}