copyWith method

AMapNavOptions copyWith({
  1. int? navType,
})

Implementation

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