size property

  1. @optional
int? size
getter/setter pair

The size of this object in the heap.

If an object is not heap-allocated, then this field is omitted.

Note that the size can be zero for some objects. In the current VM implementation, this occurs for small integers, which are stored entirely within their object pointers.

Implementation

@optional
int? size;