GemParameter.withString constructor

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

Creates a GemParameter with a ValueType.string value type

Implementation

factory GemParameter.withString({
  required final String key,
  required final String value,
  final String? name,
}) {
  return GemParameter(
    key: key,
    type: ValueType.string,
    value: value,
    name: name,
  );
}