add method

String add(
  1. Feature feature
)

Implementation

String add(Feature feature) {
  feature.id = featureCounter++;
  _features['${feature.id}'] = feature;
  _updateSource();
  return '${feature.id}';
}