|
|
|
|
@ -332,8 +332,14 @@ class DashBoardProvider extends ChangeNotifier {
|
|
|
|
|
} else {
|
|
|
|
|
body["statusValue"] = status;
|
|
|
|
|
}
|
|
|
|
|
if (isHighPriority) body["isHighPriority"] = true;
|
|
|
|
|
if (isOverdue) body["isOverdue"] = true;
|
|
|
|
|
if (isHighPriority) {
|
|
|
|
|
body["isHighPriority"] = true;
|
|
|
|
|
body["statusValue"] = null;
|
|
|
|
|
}
|
|
|
|
|
if (isOverdue) {
|
|
|
|
|
body["isOverdue"] = true;
|
|
|
|
|
body["statusValue"] = null;
|
|
|
|
|
}
|
|
|
|
|
if (isAscending != null) body["isAscending"] = isAscending;
|
|
|
|
|
response = await ApiManager.instance.post(url, body: body);
|
|
|
|
|
stateCode = response.statusCode;
|
|
|
|
|
|