loadOwned method
Returns an independently owned handle. The caller must dispose it. Ownership is established before completing the future, so cache release or disposal cannot invalidate the handle while its continuation is pending.
Implementation
Future<ui.Image> loadOwned(DiagramImageSource source) =>
_load(source, owned: true);