copyWith method

Aoi copyWith({
  1. String? adCode,
  2. num? aoiArea,
  3. LatLng? aoiCenterPoint,
  4. String? aoiId,
  5. String? aoiName,
})

Implementation

Aoi copyWith({
  String? adCode,
  num? aoiArea,
  LatLng? aoiCenterPoint,
  String? aoiId,
  String? aoiName,
}) {
  return Aoi(
    adCode: adCode ?? this.adCode,
    aoiArea: aoiArea ?? this.aoiArea,
    aoiCenterPoint: aoiCenterPoint ?? this.aoiCenterPoint,
    aoiId: aoiId ?? this.aoiId,
    aoiName: aoiName ?? this.aoiName,
  );
}