add method

Future add (dynamic value, [ dynamic key ])

Implementation

Future add(value, [key]) {
  try {
    var request;
    if (key != null) {
      request = _add(value, key);
    } else {
      request = _add(value);
    }
    return _completeRequest(request);
  } catch (e, stacktrace) {
    return new Future.error(e, stacktrace);
  }
}