FileInfo constructor

FileInfo({
  1. bool? isFile,
  2. bool? isDirectory,
  3. bool? isSymlink,
  4. num? size,
  5. DateTime? mtime,
  6. DateTime? atime,
  7. DateTime? birthtime,
  8. num? dev,
  9. num? ino,
  10. num? mode,
  11. num? nlink,
  12. num? uid,
  13. num? gid,
  14. num? rdev,
  15. num? blksize,
  16. num? blocks,
  17. bool? isBlockDevice,
  18. bool? isCharDevice,
  19. bool? isFifo,
  20. bool? isSocket,
})

Implementation

factory FileInfo({
  _i2.bool? isFile,
  _i2.bool? isDirectory,
  _i2.bool? isSymlink,
  _i2.num? size,
  _i2.DateTime? mtime,
  _i2.DateTime? atime,
  _i2.DateTime? birthtime,
  _i2.num? dev,
  _i2.num? ino,
  _i2.num? mode,
  _i2.num? nlink,
  _i2.num? uid,
  _i2.num? gid,
  _i2.num? rdev,
  _i2.num? blksize,
  _i2.num? blocks,
  _i2.bool? isBlockDevice,
  _i2.bool? isCharDevice,
  _i2.bool? isFifo,
  _i2.bool? isSocket,
}) =>
    FileInfo._(
      isFile: isFile,
      isDirectory: isDirectory,
      isSymlink: isSymlink,
      size: size,
      mtime: mtime ?? _i6.undefined,
      atime: atime ?? _i6.undefined,
      birthtime: birthtime ?? _i6.undefined,
      dev: dev,
      ino: ino ?? _i6.undefined,
      mode: mode ?? _i6.undefined,
      nlink: nlink ?? _i6.undefined,
      uid: uid ?? _i6.undefined,
      gid: gid ?? _i6.undefined,
      rdev: rdev ?? _i6.undefined,
      blksize: blksize ?? _i6.undefined,
      blocks: blocks ?? _i6.undefined,
      isBlockDevice: isBlockDevice ?? _i6.undefined,
      isCharDevice: isCharDevice ?? _i6.undefined,
      isFifo: isFifo ?? _i6.undefined,
      isSocket: isSocket ?? _i6.undefined,
    );