copyWith method

CompassModel copyWith({
  1. double? bearing,
})

Implementation

CompassModel copyWith({double? bearing}) {
  return CompassModel(bearing: bearing ?? this.bearing);
}