WhenWhy constructor

WhenWhy({
  1. String description = '',
})

Creates a new WhenWhy, with an optional description.

Implementation

WhenWhy({this.description = ''}) : whenOccurred = DateTime.now();