City constructor

City(
  1. {int id,
  2. String name,
  3. int stateId}
)

Implementation

City({this.id, this.name, this.stateId});