XPlatformFile constructor Null safety

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

Implementation

XPlatformFile({
  super.path,
  required super.name,
  required super.size,
  super.bytes,
  super.readStream,
  super.identifier,
  required String objectUrl,
}) : _unsafePath = objectUrl;