FileInfo.fromUrl constructor Null safety

FileInfo.fromUrl(
  1. {required String? url,
  2. String? mimeType,
  3. int? fileSize,
  4. String? name}
)

Implementation

FileInfo.fromUrl({
  required this.url,
  this.mimeType,
  this.fileSize,
  this.name,
}) : file = null;