size property Null safety
optional">@optionalread / write
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;