RuleCondition constructor
RuleCondition({
- RuleCondition_Everyone? everyone,
- RuleCondition_NoOne? noOne,
- RuleCondition_AuthenticatedUsers? authenticatedUsers,
- RuleCondition_TaggedUsers? taggedUsers,
- RuleCondition_Chat? chat,
- RuleCondition_UsersCollection? users,
- RuleCondition_UsersPushNotifications? usersPushNotifications,
Implementation
factory RuleCondition({
RuleCondition_Everyone? everyone,
RuleCondition_NoOne? noOne,
RuleCondition_AuthenticatedUsers? authenticatedUsers,
RuleCondition_TaggedUsers? taggedUsers,
RuleCondition_Chat? chat,
RuleCondition_UsersCollection? users,
RuleCondition_UsersPushNotifications? usersPushNotifications,
}) {
final result = create();
if (everyone != null) result.everyone = everyone;
if (noOne != null) result.noOne = noOne;
if (authenticatedUsers != null)
result.authenticatedUsers = authenticatedUsers;
if (taggedUsers != null) result.taggedUsers = taggedUsers;
if (chat != null) result.chat = chat;
if (users != null) result.users = users;
if (usersPushNotifications != null)
result.usersPushNotifications = usersPushNotifications;
return result;
}