DeviceDescriptor constructor Null safety

DeviceDescriptor(
  1. {required String roleName,
  2. bool? isMasterDevice = false,
  3. List<String>? supportedDataTypes}
)

Implementation

DeviceDescriptor({
  required this.roleName,
  this.isMasterDevice = false,
  this.supportedDataTypes,
}) : super();