copyWith method
Implementation
TMC copyWith({
int? distance,
List<LatLng>? polyline,
String? status,
}) {
return TMC(
distance: distance ?? this.distance,
polyline: polyline ?? this.polyline,
status: status ?? this.status,
);
}