getParticipants method

Future<Either<ScreenMeetError, List<Participant>>> getParticipants()

Implementation

Future<Either<ScreenMeetError, List<Participant>>> getParticipants() async {
  final Map result = await channel.invokeMethod(pm.kGetParticipantsCommand);
  if (pm.isSuccess(result)) { return Right(pm.participants(result[pm.kParticipants]));}
  return Left(pm.error(result));
}