initializeEngine method
Implementation
Future<void> initializeEngine(
{required AgoraConnectionData agoraConnectionData}) async {
value = value.copyWith(
engine: await RtcEngine.createWithContext(
RtcEngineContext(
agoraConnectionData.appId,
areaCode: agoraConnectionData.areaCode,
),
),
connectionData: agoraConnectionData,
);
}