();

class

Parent

Child

child

Parent

parent

Parent

().

child

Child

();

In DevTools calculations, if an object has more
than one retaining path, its size is assigned as
retained only to the members of the shortest retaining path.

In this example the object x has two retaining paths:

root ->

a -> b -> c -> x

root ->

d -> e -> x

(shortest retaining path to

`x

Only members of the shortest path (d and e) will include 
x into their retaining size.

Dart size vs external (native) size