XFile.fromData constructor
XFile.fromData(
- Uint8List bytes, {
- String? mimeType,
- String? name,
- int? length,
- DateTime? lastModified,
- String? path,
- @visibleForTesting CrossFileTestOverrides? overrides,
Construct a CrossFile object from its data
Implementation
XFile.fromData(
Uint8List bytes, {
String? mimeType,
String? name,
int? length,
DateTime? lastModified,
String? path,
@visibleForTesting CrossFileTestOverrides? overrides,
}) : super(path) {
throw UnimplementedError(
'CrossFile is not available in your current platform.');
}