keys method
Assigns the names for the 'label' field and the 'value' field.
Implementation
void keys({String? id, String? label, String? value, String? type}) {
if (id != null && id.isNotEmpty) {
_id = id;
}
if (label != null && label.isNotEmpty) {
_label = label;
}
if (value != null && value.isNotEmpty) {
_value = value;
}
if (type != null && type.isNotEmpty) {
_type = type;
}
}