createTemp method Null safety

Future<Directory> createTemp (
  1. [String? prefix]

Creates a temporary directory in this directory. Additional random characters are appended to prefix to produce a unique directory name. If prefix is missing or null, the empty string is used for prefix.

Returns a Future<Directory> that completes with the newly created temporary directory.


Future<Directory> createTemp([String? prefix]);