17 lines
422 B
Dart
17 lines
422 B
Dart
import 'package:discover_module/service.dart/service.dart';
|
|
import 'package:flutter/cupertino.dart';
|
|
|
|
class CertificateProvider extends ChangeNotifier {
|
|
final apicall = Callapi();
|
|
List cerlist = [];
|
|
|
|
List get certificatelist => cerlist;
|
|
|
|
certificateinfo(text) async {
|
|
print("Location_Text");
|
|
final email_result = await apicall.getcerlistdata(text);
|
|
cerlist = email_result;
|
|
notifyListeners();
|
|
}
|
|
}
|