regionName property

String regionName

Returns the name of the region.

Returns:

  • A string representing the name of the region.

Implementation

String get regionName {
  switch (this) {
    case Region.india:
      return 'INDIA';
    case Region.africa:
      return 'AFRICA';
    case Region.unitedStates:
      return 'UNITED_STATES';
    case Region.asiaPacific:
      return 'ASIA_PACIFIC';
    default:
      return 'INDIA';
  }
}