Option constructor

Option({
  1. String? name,
  2. Any? value,
})

Implementation

factory Option({
  $core.String? name,
  $18.Any? value,
}) {
  final $result = create();
  if (name != null) {
    $result.name = name;
  }
  if (value != null) {
    $result.value = value;
  }
  return $result;
}