DeviceTokenUbuntuPush class

A token for the Ubuntu Push Client service

Inheritance
Available extensions
Annotations
  • @immutable

Constructors

DeviceTokenUbuntuPush({required String token})
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
token → String
token Token; may be empty to deregister a device
final

Methods

copyWith({String? token}) → DeviceTokenUbuntuPush

Available on DeviceTokenUbuntuPush, provided by the DeviceTokenUbuntuPushExtensions extension

getConstructor() → String
override
map<TResult extends Object?>({required TResult firebaseCloudMessaging(DeviceTokenFirebaseCloudMessaging value), required TResult applePush(DeviceTokenApplePush value), required TResult applePushVoIP(DeviceTokenApplePushVoIP value), required TResult windowsPush(DeviceTokenWindowsPush value), required TResult microsoftPush(DeviceTokenMicrosoftPush value), required TResult microsoftPushVoIP(DeviceTokenMicrosoftPushVoIP value), required TResult webPush(DeviceTokenWebPush value), required TResult simplePush(DeviceTokenSimplePush value), required TResult ubuntuPush(DeviceTokenUbuntuPush value), required TResult blackBerryPush(DeviceTokenBlackBerryPush value), required TResult tizenPush(DeviceTokenTizenPush value), required TResult huaweiPush(DeviceTokenHuaweiPush value)}) → TResult

Available on DeviceToken, provided by the DeviceTokenExtensions extension

maybeMap<TResult extends Object?>({TResult firebaseCloudMessaging(DeviceTokenFirebaseCloudMessaging value)?, TResult applePush(DeviceTokenApplePush value)?, TResult applePushVoIP(DeviceTokenApplePushVoIP value)?, TResult windowsPush(DeviceTokenWindowsPush value)?, TResult microsoftPush(DeviceTokenMicrosoftPush value)?, TResult microsoftPushVoIP(DeviceTokenMicrosoftPushVoIP value)?, TResult webPush(DeviceTokenWebPush value)?, TResult simplePush(DeviceTokenSimplePush value)?, TResult ubuntuPush(DeviceTokenUbuntuPush value)?, TResult blackBerryPush(DeviceTokenBlackBerryPush value)?, TResult tizenPush(DeviceTokenTizenPush value)?, TResult huaweiPush(DeviceTokenHuaweiPush value)?, required TResult orElse()}) → TResult

Available on DeviceToken, provided by the DeviceTokenExtensions extension

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

Operators

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

Constants

constructor → const String