addCloseListener static method

void addCloseListener(
  1. Store store,
  2. dynamic key,
  3. void listener()
)

Adds a listener to the Store.close event.

Implementation

static void addCloseListener(
        Store store, dynamic key, void Function() listener) =>
    store._onClose[key] = listener;