id property
String
get
id
A stable identity for keys and tests; defaults to the label.
Implementation
String get id => _id ?? label.toLowerCase().replaceAll(' ', '-');
A stable identity for keys and tests; defaults to the label.
String get id => _id ?? label.toLowerCase().replaceAll(' ', '-');