1. DomName('IDBObjectStore.add')
Future add(value, [key])

Source

@DomName('IDBObjectStore.add')
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);
  }
}