ProfileChangeEvent constructor
- TrackingProfile? previousProfile,
- required TrackingProfile newProfile,
- String? reason,
- DateTime? timestamp,
Implementation
ProfileChangeEvent({
this.previousProfile,
required this.newProfile,
this.reason,
DateTime? timestamp,
}) : timestamp = timestamp ?? DateTime.now();