|
|
|
|
@ -11,7 +11,7 @@ import '../../controllers/api_routes/urls.dart';
|
|
|
|
|
|
|
|
|
|
class TaskTypeProvider extends LoadingListNotifier<TaskType> {
|
|
|
|
|
@override
|
|
|
|
|
Future getDate() async {
|
|
|
|
|
Future getData() async {
|
|
|
|
|
print('get data called...');
|
|
|
|
|
if (loading == true) return -2;
|
|
|
|
|
loading = true;
|
|
|
|
|
@ -39,7 +39,7 @@ class TaskTypeProvider extends LoadingListNotifier<TaskType> {
|
|
|
|
|
}
|
|
|
|
|
class TaskEvaluatorUserProvider extends LoadingListNotifier<TaskEvaluatorUser> {
|
|
|
|
|
@override
|
|
|
|
|
Future getDate() async {
|
|
|
|
|
Future getData() async {
|
|
|
|
|
if (loading == true) return -2;
|
|
|
|
|
loading = true;
|
|
|
|
|
notifyListeners();
|
|
|
|
|
@ -65,7 +65,7 @@ class TaskEvaluatorUserProvider extends LoadingListNotifier<TaskEvaluatorUser> {
|
|
|
|
|
|
|
|
|
|
class TaskJobTypeOfAlertProvider extends LoadingListNotifier<Lookup> {
|
|
|
|
|
@override
|
|
|
|
|
Future getDate() async {
|
|
|
|
|
Future getData() async {
|
|
|
|
|
if (loading == true) return -2;
|
|
|
|
|
loading = true;
|
|
|
|
|
notifyListeners();
|
|
|
|
|
@ -90,7 +90,7 @@ class TaskJobTypeOfAlertProvider extends LoadingListNotifier<Lookup> {
|
|
|
|
|
}
|
|
|
|
|
class TaskJobRiskLevelProvider extends LoadingListNotifier<Lookup> {
|
|
|
|
|
@override
|
|
|
|
|
Future getDate() async {
|
|
|
|
|
Future getData() async {
|
|
|
|
|
if (loading == true) return -2;
|
|
|
|
|
loading = true;
|
|
|
|
|
notifyListeners();
|
|
|
|
|
@ -115,7 +115,7 @@ class TaskJobRiskLevelProvider extends LoadingListNotifier<Lookup> {
|
|
|
|
|
}
|
|
|
|
|
class TaskJobResourceProvider extends LoadingListNotifier<Lookup> {
|
|
|
|
|
@override
|
|
|
|
|
Future getDate() async {
|
|
|
|
|
Future getData() async {
|
|
|
|
|
if (loading == true) return -2;
|
|
|
|
|
loading = true;
|
|
|
|
|
notifyListeners();
|
|
|
|
|
@ -140,7 +140,7 @@ class TaskJobResourceProvider extends LoadingListNotifier<Lookup> {
|
|
|
|
|
}
|
|
|
|
|
class TaskJobActionNeededProvider extends LoadingListNotifier<Lookup> {
|
|
|
|
|
@override
|
|
|
|
|
Future getDate() async {
|
|
|
|
|
Future getData() async {
|
|
|
|
|
if (loading == true) return -2;
|
|
|
|
|
loading = true;
|
|
|
|
|
notifyListeners();
|
|
|
|
|
@ -165,7 +165,7 @@ class TaskJobActionNeededProvider extends LoadingListNotifier<Lookup> {
|
|
|
|
|
}
|
|
|
|
|
class TaskJobImpactStatusProvider extends LoadingListNotifier<Lookup> {
|
|
|
|
|
@override
|
|
|
|
|
Future getDate() async {
|
|
|
|
|
Future getData() async {
|
|
|
|
|
if (loading == true) return -2;
|
|
|
|
|
loading = true;
|
|
|
|
|
notifyListeners();
|
|
|
|
|
|