RtcEngineContext class Null safety

Configurations for the RtcEngineContext instance.

  • @JsonSerializable(explicitToJson: true)


RtcEngineContext(String appId, {List<AreaCode>? areaCode, LogConfig? logConfig})
Constructs a RtcEngineContext


appId String
The App ID issued to you by Agora. See How to get the App ID. Only users in apps with the same App ID can join the same channel and communicate with each other. Use an App ID to create only one RtcEngine instance. To change your App ID, call destroy to destroy the current RtcEngine instance and then call createWithContext to create an RtcEngine instance with the new App ID.
read / write
areaCode List<AreaCode>?
The region for connection. This advanced feature applies to scenarios that have regional restrictions. [...]
@JsonKey(includeIfNull: false, toJson: _$AreaCodeListToJson), read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
logConfig LogConfig?
The configuration of the log files that the SDK outputs. See LogConfig. [...]
@JsonKey(includeIfNull: false), read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toString() String
A string representation of this object. [...]


operator ==(Object other) bool
The equality operator. [...]