createRegistration method

  1. @override
MACAddressDeviceRegistration createRegistration({
  1. String? deviceId,
  2. String? deviceDisplayName,
  3. DateTime? registrationCreatedOn,
  4. String? address,
})
override

Create a DeviceRegistration which can be used to configure this device for deployment.

Override this method to configure device-specific registration options, if any.

Implementation

@override
MACAddressDeviceRegistration createRegistration({
  String? deviceId,
  String? deviceDisplayName,
  DateTime? registrationCreatedOn,
  String? address,
}) =>
    MACAddressDeviceRegistration(
      deviceId: deviceId,
      deviceDisplayName: deviceDisplayName,
      registrationCreatedOn: registrationCreatedOn,
      address: address ?? '??????',
    );