dump method

  1. @override
void dump()
override

Implementation

@override
void dump() {
  final now = DateTime.now();
  final year = now.year;
  final month = now.month.toString().padLeft(2, '0');
  final day = now.day.toString().padLeft(2, '0');
  final hour = now.hour.toString().padLeft(2, '0');
  final minute = now.minute.toString().padLeft(2, '0');
  final second = now.second.toString().padLeft(2, '0');
  _fileName = '$year$month$day$hour$minute$second-${uid4() + uid4()}.txt';
}