whereUserId static method

PersistenceFilter whereUserId(
  1. String uid
)

Only takes actions where the userId is uid.

Implementation

static PersistenceFilter whereUserId(String uid) {
  return (Map<String, String> action) => action['uid'] == uid;
}