reflect method Null safety

  1. @override
InstanceMirror reflect(
  1. Object reflectee
)
inherited

Returns a mirror of the given object reflectee.

Throws a NoSuchCapabilityError if the class of o has not been marked for reflection.

Implementation

@override
InstanceMirror reflect(Object reflectee) {
  return _InstanceMirrorImpl(reflectee, this);
}