CityHistoryMap constructor

CityHistoryMap({
  1. Map<String, int>? cityAmount,
})

Implementation

factory CityHistoryMap({
  $core.Map<$core.String, $core.int>? cityAmount,
}) {
  final _result = create();
  if (cityAmount != null) {
    _result.cityAmount.addAll(cityAmount);
  }
  return _result;
}