isStatic property

  1. @override
bool get isStatic
override

Returns true if the reflectee is a static variable. Otherwise returns false.

For the purposes of the mirror library, top-level variables are implicitly declared static.

Required capabilities: isStatic does not require any capabilities.

Implementation

@override
bool get isStatic => (_descriptor & constants.staticAttribute != 0);