路径规划作业列表 其余界面优化
This commit is contained in:
@@ -10,12 +10,13 @@ class UnbindDeviceUseCase implements BaseUseCase<int, UnbindDeviceParams> {
|
||||
|
||||
@override
|
||||
Future<Either<Failure, int>> call(UnbindDeviceParams params) async {
|
||||
return await repository.unBindDevice(params.deviceId);
|
||||
return await repository.unBindDevice(params.deviceId, params.deviceName);
|
||||
}
|
||||
}
|
||||
|
||||
class UnbindDeviceParams {
|
||||
final String deviceId;
|
||||
final String deviceName;
|
||||
|
||||
UnbindDeviceParams(this.deviceId);
|
||||
UnbindDeviceParams(this.deviceId, this.deviceName);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user