DeviceRegistration class
A device registered for pushes.
- Annotations
Constructors
- DeviceRegistration({required String token, required PushProvider provider, required String platform, String? installId, String? locale, String? appVersion, String? osVersion, String? deviceModel})
-
Creates a registration.
const
Properties
- appVersion → String?
-
App version.
final
- deviceModel → String?
-
Device model.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- installId → String?
-
Install id.
final
- locale → String?
-
Locale.
final
- osVersion → String?
-
OS version.
final
- platform → String
-
ios,android,web,macos,windows,linux.final - provider → PushProvider
-
Provider.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- token → String
-
Push token.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Json - The wire shape.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited