FileInfo constructor

FileInfo({
  1. String? name,
  2. Int64? size,
  3. bool? isDirectory,
})

Implementation

factory FileInfo({
  $core.String? name,
  $fixnum.Int64? size,
  $core.bool? isDirectory,
}) {
  final $result = create();
  if (name != null) {
    $result.name = name;
  }
  if (size != null) {
    $result.size = size;
  }
  if (isDirectory != null) {
    $result.isDirectory = isDirectory;
  }
  return $result;
}