UserDeviceRequest class

Annotations
  • @JsonSerializable(checked: true, createToJson: true, disallowUnrecognizedKeys: false, explicitToJson: true)

Constructors

UserDeviceRequest({String? name, required String registrationId, String? deviceId, bool? active = true, required UserDeviceTypeEnum type})
Returns a new UserDeviceRequest instance.
UserDeviceRequest.fromJson(Map<String, dynamic> json)
factory

Properties

active bool?
Inactive devices will not be sent notifications
final
deviceId String?
Unique device identifier
final
hashCode int
The hash code for this object.
no setteroverride
name String?
final
registrationId String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type UserDeviceTypeEnum
final

Methods

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

Operators

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