tempFile method Null safety
- @Deprecated('Use createTempFilename')
- {String? suffix}
@Deprecated('Use createTempFilename')
Generates a temporary filename in the system temp directory that is guaranteed to be unique.
This method does not create the file.
The temp file name will be suffix
in which
case the file name will be
Implementation
@Deprecated('Use createTempFilename')
static String tempFile({String? suffix}) =>
createTempFilename(suffix: suffix);