UserPushTriggerOptionSetRequest constructor
UserPushTriggerOptionSetRequest(
- PushTriggerOption option, {
- String? userId,
Implementation
UserPushTriggerOptionSetRequest(PushTriggerOption option, {String? userId})
: super(userId: userId) {
url = 'users/${userId ?? state.userId}/push_preference';
body = {'push_trigger_option': pushTriggerOptionEnumMap[option]};
}