createTempSync method Null safety

  1. @override
Directory createTempSync(
  1. [String? prefix]
)
override

Synchronously 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 as prefix.

Returns the newly created temporary directory.

Implementation

@override
Directory createTempSync([String? prefix]);