push method

Future<void> push(
  1. dynamic item
)

Push an item to the end of the PersistentQueue after buffer clears.

p.s. item must be json encodable, as json.encode() is called over it

Implementation

Future<void> push(dynamic item) => _defer(() => _push(item));