mainCountryForCode property

  1. @TagNumber(22)
bool get mainCountryForCode

This field is set when this country is considered to be the main country for a calling code. It may not be set by more than one country with the same calling code, and it should not be set by countries with a unique calling code. This can be used to indicate that "GB" is the main country for the calling code "44" for example, rather than Jersey or the Isle of Man.

Implementation

@$pb.TagNumber(22)
$core.bool get mainCountryForCode => $_getBF(20);
  1. @TagNumber(22)
set mainCountryForCode (bool v)

Implementation

@$pb.TagNumber(22)
set mainCountryForCode($core.bool v) {
  $_setBool(20, v);
}