FileInfo.fromFileBytes constructor

FileInfo.fromFileBytes(
  1. {required Uint8List? fileBytes,
  2. required String? fileName,
  3. required String? mimeType}
)

fromBytes for Web

Implementation

FileInfo.fromFileBytes({
  required this.fileBytes,
  required this.fileName,
  required this.mimeType,
})  : file = null,
      fileUrl = null;