FileInfo.fromFile constructor
fromFile
Implementation
FileInfo.fromFile({
required this.file,
required this.fileName,
required this.mimeType,
}) : fileSize = file?.lengthSync(),
fileBytes = null,
fileUrl = null;
fromFile
FileInfo.fromFile({
required this.file,
required this.fileName,
required this.mimeType,
}) : fileSize = file?.lengthSync(),
fileBytes = null,
fileUrl = null;