effectiveKey property

String get effectiveKey

key, or the slug of label ("Button label" → button_label).

Implementation

String get effectiveKey => key.isNotEmpty ? key : settingSlug(label);