fileName method Null safety

String fileName(
  1. int index
)

The name of the file at the given index.

Implementation

String fileName(int index) {
  return files[index].name;
}