GemParameter.withBool constructor
Creates a boolean GemParameter.
Parameters
key: Unique parameter identifier.value: Boolean value to store.name: Optional localized display name.
Returns
- A new GemParameter with type set to ValueType.bool.
Implementation
factory GemParameter.withBool({
required final String key,
required final bool value,
final String? name,
}) {
return GemParameter(
key: key,
type: ValueType.bool,
value: value,
name: name,
);
}