FileInfo.fromBytes constructor

FileInfo.fromBytes({
  1. required String? name,
  2. required Uint8List? fileBytes,
  3. required String? mimeType,
  4. File? file = null,
})

Implementation

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