join method

Future<Conference> join(
  1. Conference conference,
  2. ConferenceJoinOptions options
)

Joins a conference as a user who can send media to the conference. The conference parameter refers to the conference that tha local participant wants to join. The options parameter allows setting additional options for the joining participant.

Implementation

Future<Conference> join(
    Conference conference, ConferenceJoinOptions options) async {
  var arguments = {
    "conference": conference.toJson(),
    "options": options.toJson()
  };
  var result = await _methodChannel.invokeMethod<Map<Object?, Object?>>(
          "join", arguments) ??
      <String, Object?>{};
  return ConferenceMapper.fromMap(result);
}