getFile abstract method Null safety

Future<File> getFile(
  1. Uri uri,
  2. {Map<String, String>? headers}
)

Gets file with uri and headers.