deviceToken property

  1. @JsonKey.new(name: "deviceToken")
String? deviceToken
final

The customer's device token for push notifications (optional).

This token is used by Gameball to send push notifications to the customer's device. You'll need to implement a mechanism to obtain the device token from your platform-specific notification framework (e.g., Firebase Cloud Messaging or Apple Push Notification service).

Implementation

@JsonKey(name: "deviceToken")
final String? deviceToken;