tempFile static method

  1. @Deprecated('Use createTempFilename')
String tempFile({
  1. String? suffix,
})

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

Implementation

@Deprecated('Use createTempFilename')
static String tempFile({String? suffix}) =>
    createTempFilename(suffix: suffix);