properties abstract method

Future<MotorProperties> properties({
  1. Map<String, dynamic>? extra,
})

Report a dictionary mapping each optional property to whether it is supported by this motor.

// Return whether the motor supports certain optional features
var properties = await myMotor.properties();

For more information, see Motor component.

Implementation

Future<MotorProperties> properties({Map<String, dynamic>? extra});