byId method

Returns an iterable of OverlayClosers that have the given id.

Example:

context.close((overlays) => overlays.byId('my-id'));

Implementation

Iterable<OverlayCloser> byId(String id) => where((c) => c.id == id);