GemParameter.withReal constructor

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

Creates a GemParameter with a ValueType.real value type

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