hasReflectee property Null safety

bool hasReflectee

Whether reflectee will return the instance reflected by this mirror.

This will always be true in the local case (reflecting instances in the same isolate), but only true in the remote case if this mirror reflects a simple value.

A value is simple if one of the following holds:

  • the value is null
  • the value is of type num
  • the value is of type bool
  • the value is of type String


bool get hasReflectee;