Pusher class

Implemented types
Annotations
  • @_NameSource('spec')

Constructors

Pusher({required String appId, required String pushkey, required String appDisplayName, required PusherData data, required String deviceDisplayName, required String kind, required String lang, String? profileTag})
Pusher.fromJson(Map<String, Object?> json)

Properties

appDisplayName String
A string that will allow the user to identify what application owns this pusher.
getter/setter pair
appId String
This is a reverse-DNS style identifier for the application. Max length, 64 chars.
getter/setter pairoverride
data PusherData
A dictionary of information for the pusher implementation itself.
getter/setter pair
deviceDisplayName String
A string that will allow the user to identify what device owns this pusher.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
kind String
The kind of pusher. "http" is a pusher that sends HTTP pokes.
getter/setter pair
lang String
The preferred language for receiving notifications (e.g. 'en' or 'en-US')
getter/setter pair
profileTag String?
This string determines which set of device specific rules this pusher executes.
getter/setter pair
pushkey String
This is a unique identifier for this pusher. See /set for more detail. Max length, 512 bytes.
getter/setter pairoverride
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?>
override
toString() String
A string representation of this object.
inherited

Operators

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