getFileName method

String getFileName()

Implementation

String getFileName() {
  return this != null && this!.trim().isNotEmpty
      ? this!
      : 'file_${DateTime.now().millisecondsSinceEpoch}';
}