$Client class

Constructors

$Client(Uri baseURL, {Client? httpClient, List<DynamiteAuthentication>? authentications})
Creates a new DynamiteClient for untagged requests.
$Client.fromClient(DynamiteClient client)
Creates a new $Client from another client.

Properties

authentications → List<DynamiteAuthentication>?
The available authentications for this client.
finalinherited
baseURL → Uri
The base server url used to build the request uri.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
httpClient → Client
The base http client.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

$check_Request() → Request
Check if the UnifiedPush provider is present.
$check_Serializer() → DynamiteSerializer<CheckResponseApplicationJson, void>
Builds a serializer to parse the response of $check_Request.
$createApp_Request({required String deviceId, required String appName}) → Request
Create an authorization token for a new 3rd party service.
$createApp_Serializer() → DynamiteSerializer<CreateAppResponseApplicationJson, void>
Builds a serializer to parse the response of $createApp_Request.
$createDevice_Request({required String deviceName}) → Request
Request to create a new deviceId.
$createDevice_Serializer() → DynamiteSerializer<CreateDeviceResponseApplicationJson, void>
Builds a serializer to parse the response of $createDevice_Request.
$deleteApp_Request({required String token}) → Request
Delete an authorization token.
$deleteApp_Serializer() → DynamiteSerializer<DeleteAppResponseApplicationJson, void>
Builds a serializer to parse the response of $deleteApp_Request.
$deleteDevice_Request({required String deviceId}) → Request
Delete a device.
$deleteDevice_Serializer() → DynamiteSerializer<DeleteDeviceResponseApplicationJson, void>
Builds a serializer to parse the response of $deleteDevice_Request.
$gatewayMatrix_Request() → Request
Matrix Gateway.
$gatewayMatrix_Serializer() → DynamiteSerializer<GatewayMatrixResponseApplicationJson, void>
Builds a serializer to parse the response of $gatewayMatrix_Request.
$gatewayMatrixDiscovery_Request() → Request
Matrix Gateway discovery.
$gatewayMatrixDiscovery_Serializer() → DynamiteSerializer<GatewayMatrixDiscoveryResponseApplicationJson, void>
Builds a serializer to parse the response of $gatewayMatrixDiscovery_Request.
$push_Request({required String token}) → Request
Receive notifications from 3rd parties.
$push_Serializer() → DynamiteSerializer<PushResponseApplicationJson, void>
Builds a serializer to parse the response of $push_Request.
$setKeepalive_Request({required int keepalive}) → Request
Set keepalive interval.
$setKeepalive_Serializer() → DynamiteSerializer<SetKeepaliveResponseApplicationJson, void>
Builds a serializer to parse the response of $setKeepalive_Request.
$syncDevice_Request({required String deviceId}) → Request
Request to get push messages.
$syncDevice_Serializer() → DynamiteSerializer<SyncDeviceResponseApplicationJson, void>
Builds a serializer to parse the response of $syncDevice_Request.
$unifiedpushDiscovery_Request({required String token}) → Request
Unifiedpush discovery Following specifications.
$unifiedpushDiscovery_Serializer() → DynamiteSerializer<UnifiedpushDiscoveryResponseApplicationJson, void>
Builds a serializer to parse the response of $unifiedpushDiscovery_Request.
check() → Future<DynamiteResponse<CheckResponseApplicationJson, void>>
Check if the UnifiedPush provider is present.
createApp({required String deviceId, required String appName}) → Future<DynamiteResponse<CreateAppResponseApplicationJson, void>>
Create an authorization token for a new 3rd party service.
createDevice({required String deviceName}) → Future<DynamiteResponse<CreateDeviceResponseApplicationJson, void>>
Request to create a new deviceId.
deleteApp({required String token}) → Future<DynamiteResponse<DeleteAppResponseApplicationJson, void>>
Delete an authorization token.
deleteDevice({required String deviceId}) → Future<DynamiteResponse<DeleteDeviceResponseApplicationJson, void>>
Delete a device.
gatewayMatrix() → Future<DynamiteResponse<GatewayMatrixResponseApplicationJson, void>>
Matrix Gateway.
gatewayMatrixDiscovery() → Future<DynamiteResponse<GatewayMatrixDiscoveryResponseApplicationJson, void>>
Matrix Gateway discovery.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
push({required String token}) → Future<DynamiteResponse<PushResponseApplicationJson, void>>
Receive notifications from 3rd parties.
setKeepalive({required int keepalive}) → Future<DynamiteResponse<SetKeepaliveResponseApplicationJson, void>>
Set keepalive interval.
syncDevice({required String deviceId}) → Future<DynamiteResponse<SyncDeviceResponseApplicationJson, void>>
Request to get push messages.
toString() → String
A string representation of this object.
inherited
unifiedpushDiscovery({required String token}) → Future<DynamiteResponse<UnifiedpushDiscoveryResponseApplicationJson, void>>
Unifiedpush discovery Following specifications.

Operators

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