PushCondition class

Annotations
  • @_NameSource('spec')

Constructors

PushCondition({String? is$, String? key, required String kind, String? pattern})
PushCondition.fromJson(Map<String, Object?> json)

Properties

hashCode int
The hash code for this object.
no setterinherited
is$ String?
Required for room_member_count conditions. A decimal integer optionally prefixed by one of, ==, <, >, >= or <=. A prefix of < matches rooms where the member count is strictly less than the given number and so forth. If no prefix is present, this parameter defaults to ==.
getter/setter pair
key String?
Required for event_match conditions. The dot-separated field of the event to match.
getter/setter pair
kind String
The kind of condition to apply. See conditions for more information on the allowed kinds and how they work.
getter/setter pair
pattern String?
Required for event_match conditions. The glob-style pattern to match against.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited