hasSurveysForPlacement method

  1. @override
Future<bool> hasSurveysForPlacement(
  1. String placementTag,
  2. TRErrorCallback errorCallback
)
override

Implementation

@override
Future<bool> hasSurveysForPlacement(
    String placementTag, TRErrorCallback errorCallback) async {
  final callId = _newCallId();
  _errorCallbacks[callId] = errorCallback;
  final result = await methodChannel.invokeMethod<bool>(
      'hasSurveysForPlacement', {'callId': callId, 'placementTag': placementTag});
  _errorCallbacks.remove(callId);
  return result ?? false;
}