isCachedEntity<O> abstract method
Returns true
if entity
is cached.
- If
identicalEquality
istrue
will use identical for equality. - If
type
is defined set it will overwriteO
orentity.runtimeType
.
Implementation
bool isCachedEntity<O>(O entity, {Type? type, bool identicalEquality = true});