createFileUrl method

  1. @override
Future<String> createFileUrl(
  1. File htmlFile, {
  2. required int viewId,
})
override

Create a temporary URL to the passed HTML file.

When finished, the URL should be released using releaseFileUrl().

Implementation

@override
Future<String> createFileUrl(web.File htmlFile, {required int viewId}) {
  return _views[viewId]!.createFileUrl(htmlFile);
}