17 lines
412 B
Dart
17 lines
412 B
Dart
|
import 'package:discover_module/service.dart/service.dart';
|
||
|
import 'package:flutter/cupertino.dart';
|
||
|
|
||
|
class PhonenoProvider extends ChangeNotifier {
|
||
|
final apicall = Callapi();
|
||
|
List phonelist = [];
|
||
|
|
||
|
List get phonenolist => phonelist;
|
||
|
|
||
|
phoneinfo(text) async {
|
||
|
print("Location_Text");
|
||
|
final phone_result = await apicall.getphonedata(text);
|
||
|
phonelist = phone_result;
|
||
|
notifyListeners();
|
||
|
}
|
||
|
}
|