invite method

Future<void> invite(
  1. Conference conference,
  2. List<ParticipantInvited> participants
)

Notifies conference participants about a conference invitation. The participants parameter gathers a list of participants who should be invited to a specific conference defined in the conference parameter.

Implementation

Future<void> invite(
    Conference conference, List<ParticipantInvited> participants) {
  var args = {
    "conference": conference.toJson(),
    "participants": participants.map((e) => e.toJson()).toList()
  };
  return _methodChannel.invokeMethod<void>("invite", args);
}