GemParameter.withInt constructor
Creates an integer GemParameter.
Parameters
key: Unique parameter identifier.value: Integer value to store.name: Optional localized display name.
Returns
- A new GemParameter with type set to ValueType.int.
Implementation
factory GemParameter.withInt({
required final String key,
required final int value,
final String? name,
}) {
return GemParameter(
key: key,
type: ValueType.int,
value: value,
name: name,
);
}