PlatformFile constructor Null safety

PlatformFile(
  1. {String? path,
  2. required String name,
  3. required int size,
  4. Uint8List? bytes,
  5. Stream<List<int>>? readStream}
)

Implementation

PlatformFile({
  String? path,
  required this.name,
  required this.size,
  this.bytes,
  this.readStream,
}) : _path = path;