Smartphone constructor

Smartphone({
  1. String roleName = Smartphone.DEFAULT_ROLENAME,
  2. List<String>? supportedDataTypes,
})

Create a new Smartphone device descriptor. If roleName is not specified, then the DEFAULT_ROLENAME is used.

Implementation

Smartphone({
  super.roleName = Smartphone.DEFAULT_ROLENAME,
  super.supportedDataTypes,
});