grantAccess method
Grant the access to feature
Implementation
Future<Either<ScreenMeetError, bool>> grantAccess(FeatureRequest request) async {
var featureMap = <String, dynamic> {
_pm.kFeatureRequestorId: request.requestorId,
_pm.kFeatureRequestorName: request.requestorName,
_pm.kFeatureType: request.type,
};
final Map result = await _channel.invokeMethod(_pm.kFeatureGrantAccessCommand, featureMap);
if (_pm.isSuccess(result)) { return Right(true);}
return Left(_pm.error(result));
}