areaCode property

  1. @JsonKey(includeIfNull: false, toJson: _$AreaCodeListToJson)
List<AreaCode>? areaCode
getter/setter pair

The region for connection. This advanced feature applies to scenarios that have regional restrictions.

For the regions that Agora supports, see AreaCode. After specifying the region, the SDK connects to the Agora servers within that region.

Implementation

@JsonKey(includeIfNull: false, toJson: _$AreaCodeListToJson)
List<AreaCode>? areaCode;