$PushClient class
Constructors
-
$PushClient($Client _rootClient)
-
Creates a new
DynamiteClient
for push requests.
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
$registerDevice_Request({required String pushTokenHash, required String devicePublicKey, required String proxyServer, PushRegisterDeviceApiVersion? apiVersion, bool? oCSAPIRequest})
→ Request
-
Register device for push notifications.
-
$registerDevice_Serializer()
→ DynamiteSerializer<PushRegisterDeviceResponseApplicationJson, void>
-
Builds a serializer to parse the response of $registerDevice_Request.
-
$removeDevice_Request({PushRemoveDeviceApiVersion? apiVersion, bool? oCSAPIRequest})
→ Request
-
Remove a device from push notifications.
-
$removeDevice_Serializer()
→ DynamiteSerializer<PushRemoveDeviceResponseApplicationJson, void>
-
Builds a serializer to parse the response of $removeDevice_Request.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
registerDevice({required String pushTokenHash, required String devicePublicKey, required String proxyServer, PushRegisterDeviceApiVersion? apiVersion, bool? oCSAPIRequest})
→ Future<DynamiteResponse<PushRegisterDeviceResponseApplicationJson, void>>
-
Register device for push notifications.
-
removeDevice({PushRemoveDeviceApiVersion? apiVersion, bool? oCSAPIRequest})
→ Future<DynamiteResponse<PushRemoveDeviceResponseApplicationJson, void>>
-
Remove a device from push notifications.
-
toString()
→ String
-
A string representation of this object.
inherited