count method - ObjectStore class - dart:indexed_db library (original) (raw)

description

Future<int> count([

  1. dynamic key_OR_range ])

Implementation

Future<int> count([key_OR_range]) {
  try {
    var request = _count(key_OR_range);
    return _completeRequest(request);
  } catch (e, stacktrace) {
    return new Future.error(e, stacktrace);
  }
}