once method

Listens for a single value event and then stops listening.

Implementation

Future<DataSnapshot> once() async =>
    DataSnapshot._(await _queryPlatform.once());