solveChallenge method

Future<Either<ScreenMeetConnectError, bool>> solveChallenge(
  1. String answer
)

Implementation

Future<Either<ScreenMeetConnectError, bool>> solveChallenge(String answer) async {
  final Map result = await _channel.invokeMethod(_pm.kSolveChallenge, {_pm.kChallengeSolution: answer });

  if (_pm.isSuccess(result)) { return Right(true);}
  return Left(_pm.connectError(result));
}