CleanFileName constructor

CleanFileName(
  1. {required String file_name,
  2. int? extra,
  3. int? clientId}
)

Removes potentially dangerous characters from the name of a file. The encoding of the file name is supposed to be UTF-8. Returns an empty string on failure. Can be called synchronously

Returns Text

Implementation

CleanFileName