createRegistration method

  1. @override
SmartphoneDeviceRegistration createRegistration({
  1. String? deviceId,
  2. String? deviceDisplayName,
  3. String? platform,
  4. String? hardware,
  5. String? computerName,
  6. String? memorySize,
  7. String? deviceModel,
  8. String? operatingSystem,
  9. String? sdk,
  10. String? version,
})
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
SmartphoneDeviceRegistration createRegistration({
  String? deviceId,
  String? deviceDisplayName,
  String? platform,
  String? hardware,
  String? computerName,
  String? memorySize,
  String? deviceModel,
  String? operatingSystem,
  String? sdk,
  String? version,
}) =>
    SmartphoneDeviceRegistration(
      deviceId: deviceId,
      deviceDisplayName: deviceDisplayName,
      platform: platform,
      hardware: hardware,
      deviceName: computerName,
      deviceManufacturer: memorySize,
      deviceModel: deviceModel,
      operatingSystem: operatingSystem,
      sdk: sdk,
      release: version,
    );