createRegistration method
- @Deprecated('Use createRegistration on a DeviceManager instead, ' 'which allows for hardware-specific runtime registration options.')
inherited
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
@Deprecated(
'Use createRegistration on a DeviceManager instead, '
'which allows for hardware-specific runtime registration options.',
)
TRegistration createRegistration({
String? deviceId,
String? deviceDisplayName,
}) =>
DefaultDeviceRegistration(
deviceId: deviceId,
deviceDisplayName: deviceDisplayName,
)
as TRegistration;