Smartphone constructor

Smartphone({
  1. String roleName = Smartphone.DEFAULT_ROLE_NAME,
})

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

Implementation

Smartphone({
  super.roleName = Smartphone.DEFAULT_ROLE_NAME,
});