name property

String get name

Returns the name of this StorageFile.

Implementation

String get name {
  final basename = DateFormat('yyyy_MM_dd_H_m_s').format(DateTime.now());
  return [basename, _extension].nonNulls.join('.');
}