UShareFile.path constructor

const UShareFile.path(
  1. String path, {
  2. String? mimeType,
  3. String? name,
})

A file from disk. UShareFile.path("/path/a.pdf")

Implementation

const UShareFile.path(String this.path, {this.mimeType, this.name}) : bytes = null;