Command.getProp constructor

Command.getProp({
  1. int? id,
  2. required List parameters,
})

Command to retrieve current property of the device.

  • parameters - a list of property names and the response contains a list of corresponding property values. If the requested property name is not recognized by device, then an empty string value will be returned.

Implementation

Command.getProp({this.id, required this.parameters})
    : method = CommandMethods.getProp;