FireBaseDB.init constructor

FireBaseDB.init({
  1. OnceCallback? once,
  2. EventCallback? onChildAdded,
  3. EventCallback? onChildRemoved,
  4. EventCallback? onChildChanged,
  5. EventCallback? onChildMoved,
  6. EventCallback? onValue,
})

Implementation

factory FireBaseDB.init({
  OnceCallback? once,
  EventCallback? onChildAdded,
  EventCallback? onChildRemoved,
  EventCallback? onChildChanged,
  EventCallback? onChildMoved,
  EventCallback? onValue,
}) =>
    _this ??= FireBaseDB._(
      once,
      onChildAdded,
      onChildRemoved,
      onChildChanged,
      onChildMoved,
      onValue,
    );