url method

Future<Uri> url(
  1. String path
)

A file:// URL for path, for web views and video players.

Implementation

Future<Uri> url(String path) async => Uri.file(await this.path(path));