copyWith method

PlatformHeading copyWith({
  1. LocationCourse? heading,
  2. Duration? timestamp,
})

Implementation

PlatformHeading copyWith({
  LocationCourse? heading,
  Duration? timestamp
}) {
  return PlatformHeading(
    heading: heading ?? this.heading,
    timestamp: timestamp ?? this.timestamp
  );
}