copyWith method

RouteExitSign copyWith({
  1. RouteExitSignType? type,
  2. RouteExitSignTable? roadNameTable,
  3. Optional<RouteExitSignTable?>? roadNumberTable,
})

Implementation

RouteExitSign copyWith({
  RouteExitSignType? type,
  RouteExitSignTable? roadNameTable,
  Optional<RouteExitSignTable?>? roadNumberTable
}) {
  return RouteExitSign(
    type: type ?? this.type,
    roadNameTable: roadNameTable ?? this.roadNameTable,
    roadNumberTable: roadNumberTable != null ? roadNumberTable.value : this.roadNumberTable
  );
}