DeviceMetadata constructor
      
      DeviceMetadata({ 
    
- required String name,
- required DeviceArchetype archetype,
Creates a DeviceMetadata object.
Implementation
DeviceMetadata({
  required String name,
  required this.archetype,
})  : assert(name.isEmpty || Validators.isValidName(name),
          "`name` must have a length between 1 and 32 characters (inclusive)."),
      _originalName = name,
      _name = name,
      _originalArchetype = archetype;