readEntityPatch method

Map<String, Object?>? readEntityPatch(
  1. String type,
  2. String id
)

Read only the local patch layer for an entity.

Implementation

Map<String, Object?>? readEntityPatch(String type, String id) {
  final patch = _patches[type]?[id];
  return patch == null ? null : Map.unmodifiable(patch);
}