fileName property

String get fileName

Implementation

String get fileName {
  final now = DateTime.now();
  final year = now.year;
  final month = now.month.toString().padLeft(2, '0');
  final day = now.day.toString().padLeft(2, '0');
  return '$day-$month-$year.log';
}