copyWith method

GoogleMapClassPrediction copyWith({
  1. List<PredictionGoogle>? predictions,
  2. String? status,
})

Implementation

GoogleMapClassPrediction copyWith({
  List<PredictionGoogle>? predictions,
  String? status,
}) =>
    GoogleMapClassPrediction(
      predictions: predictions ?? this.predictions,
      status: status ?? this.status,
    );