depth property

int depth

Implementation

int get depth => level.split('.').length - 1;