DiscoverModule/lib/provider_class/educationprovider.dart

17 lines
410 B
Dart
Raw Normal View History

2024-08-30 12:24:54 +00:00
import 'package:discover_module/service.dart/service.dart';
import 'package:flutter/cupertino.dart';
class EducationProvider extends ChangeNotifier {
final apicall = Callapi();
List edulist = [];
List get educationlist => edulist;
eduinfo(text) async {
print("Location_Text");
final email_result = await apicall.getedulistdata(text);
edulist = email_result;
notifyListeners();
}
}