DevicesCommand constructor

DevicesCommand({
  1. required FlutterSdkManager flutterSdkManager,
})

Implementation

DevicesCommand({
  required super.flutterSdkManager,
}) {
  // List command to list all custom devices
  addSubcommand(
    ListCommand(flutterSdkManager: flutterSdkManager),
  );

  // Add command to add a new custom device
  addSubcommand(
    AddCommand(flutterSdkManager: flutterSdkManager),
  );

  // Delete command to delete a custom device
  addSubcommand(
    DeleteCommand(flutterSdkManager: flutterSdkManager),
  );

  // Update IP command to update the IP address of a custom device
  addSubcommand(
    UpdateIpCommand(flutterSdkManager: flutterSdkManager),
  );
}