AnyFile constructor

const AnyFile({
  1. required String basename,
  2. String content = '',
  3. List<int>? bytes,
  4. String? extension,
  5. List<String> segments = const [],
})

Implementation

const AnyFile({
  required this.basename,
  this.content = '',
  this.bytes,
  this.extension,
  this.segments = const [],
});