State constructor

State({
  1. String id = "",
  2. String code = "",
  3. String name = "",
  4. String countryId = "",
  5. required Country country,
  6. List<Province> provinces = const [],
})

Implementation

factory State({
  String id = "",
  String code = "",
  String name = "",
  String countryId = "",
  required Country country,
  List<Province> provinces = const [],
}) {
  return State._internal(
    id: id,
    code: code,
    name: name,
    countryId: countryId,
    country: country,
    provinces: provinces,
  );
}