Region constructor

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

Implementation

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