area property

String? get area

For a capability statement: its area, C1 for C1.1.

Implementation

String? get area => kind == 'capability' ? id.split('.').first : null;