devicePushRules property
PushRuleSet?
get
devicePushRules
Returns the device push rules for the logged in user.
Implementation
PushRuleSet? get devicePushRules {
final pushrules = _accountData['m.push_rules']
?.content
.tryGetMap<String, Object?>('device');
return pushrules != null ? TryGetPushRule.tryFromJson(pushrules) : null;
}