startService method
Implementation
@override
Future<void> startService({bool isAnchor=true,String title='',String content='',String roomParams=''}) async {
return await methodChannel.invokeMethod<dynamic>('startService'
,{
"mode": isAnchor ? 1 : 0, // 1 = 主播, 0 = 观众
"title": title,
"content": content,
"roomParams": roomParams,
}
);
}