count method Null safety

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);
  }
}