17 lines
411 B
Dart
17 lines
411 B
Dart
import 'package:discover_module/service.dart/service.dart';
|
|
import 'package:flutter/cupertino.dart';
|
|
|
|
class EmailProvider extends ChangeNotifier {
|
|
final apicall = Callapi();
|
|
List emaillist = [];
|
|
|
|
List get emailkollist => emaillist;
|
|
|
|
emailinfo(text) async {
|
|
print("Location_Text");
|
|
final email_result = await apicall.getemaildata(text);
|
|
emaillist = email_result;
|
|
notifyListeners();
|
|
}
|
|
}
|