FileData constructor

FileData({
  1. String? name,
  2. Int64? size,
  3. bool? isDir,
  4. List<int>? data,
  5. bool? eof,
  6. Timestamp? modTime,
  7. int? mode,
})

Implementation

factory FileData({
  $core.String? name,
  $fixnum.Int64? size,
  $core.bool? isDir,
  $core.List<$core.int>? data,
  $core.bool? eof,
  $44.Timestamp? modTime,
  $core.int? mode,
}) {
  final $result = create();
  if (name != null) {
    $result.name = name;
  }
  if (size != null) {
    $result.size = size;
  }
  if (isDir != null) {
    $result.isDir = isDir;
  }
  if (data != null) {
    $result.data = data;
  }
  if (eof != null) {
    $result.eof = eof;
  }
  if (modTime != null) {
    $result.modTime = modTime;
  }
  if (mode != null) {
    $result.mode = mode;
  }
  return $result;
}