DeviceInformation constructor

DeviceInformation(
  1. {required String name,
  2. String? fcmRegistrationToken}
)

Default constructor for DeviceInformation.

Params:

  • name: the user-friendly name describing the device.
  • fcmRegistrationToken: the Firebase Cloud Messaging registration token.

Implementation

factory DeviceInformation