once method
Apply the callback function once without subscribing to changes.
Implementation
Gun once(Function(dynamic data, String key) cb) {
final gun = _gun.once(allowInterop(
(dynamic data, key) {
cb(jsToDart(data), key);
},
));
return Gun._(gun);
}