City.fromJson constructor

City.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory City.fromJson(Map<String, dynamic> json) {
  return City(
    cityName: json['cityName'] as String?,
  );
}