OptionModel constructor
Implementation
OptionModel(super.parent, super.id, {dynamic data, String? value, String? label})
: super(scope: Scope(parent: parent.scope)) {
this.data = data;
if (value != null) this.value = value;
if (label != null) this.label = label;
}