GemParameter.withInt constructor

GemParameter.withInt({
  1. required String key,
  2. required int value,
  3. String? name,
})

Creates a GemParameter with a ValueType.int value type

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,
  );
}