ProfileChangeEvent constructor

ProfileChangeEvent({
  1. TrackingProfile? previousProfile,
  2. required TrackingProfile newProfile,
  3. String? reason,
  4. DateTime? timestamp,
})

Implementation

ProfileChangeEvent({
  this.previousProfile,
  required this.newProfile,
  this.reason,
  DateTime? timestamp,
}) : timestamp = timestamp ?? DateTime.now();