copyWith method
Implementation
LocationModel copyWith({
double? long,
double? lat,
num? heading,
}) =>
LocationModel(
long: long ?? this.long,
lat: lat ?? this.lat,
heading: heading ?? this.heading,
);
LocationModel copyWith({
double? long,
double? lat,
num? heading,
}) =>
LocationModel(
long: long ?? this.long,
lat: lat ?? this.lat,
heading: heading ?? this.heading,
);