Country constructor

Country({
  1. String? code,
  2. String? name,
  3. Region? region,
})

Implementation

factory Country({
  $core.String? code,
  $core.String? name,
  Region? region,
}) {
  final $result = create();
  if (code != null) {
    $result.code = code;
  }
  if (name != null) {
    $result.name = name;
  }
  if (region != null) {
    $result.region = region;
  }
  return $result;
}