PlatformFile.fromMap constructor

PlatformFile.fromMap(
  1. Map data, {
  2. Stream<List<int>>? readStream,
})

Implementation

PlatformFile.fromMap(Map data, {this.readStream})
    : this.path = data['path'],
      this.name = data['name'],
      this.bytes = data['bytes'],
      this.size = data['size'];