copyWith method
Implementation
AMapNavOptions copyWith({
int? navType,
}) {
return AMapNavOptions(
navType: navType ?? this.navType,
startLocation: startLocation ?? this.startLocation,
endLocation: endLocation ?? this.endLocation,
bottomContentH: bottomContentH ?? this.bottomContentH,
);
}