evaluate method

  1. @override
bool evaluate(
  1. PreferenceCenterConditionState state
)
override

Implementation

@override
bool evaluate(PreferenceCenterConditionState state) {
  return state.notificationOptIn ==
      (whenStatus == PreferenceCenterConditionOptIn.optIn);
}