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