17 lines
414 B
Dart
17 lines
414 B
Dart
|
import 'package:discover_module/service.dart/service.dart';
|
||
|
import 'package:flutter/cupertino.dart';
|
||
|
|
||
|
class ProcedureProvider extends ChangeNotifier {
|
||
|
final apicall = Callapi();
|
||
|
List procedurelist = [];
|
||
|
|
||
|
List get prolist => procedurelist;
|
||
|
|
||
|
proinfo(text) async {
|
||
|
print("Location_Text");
|
||
|
final nih_result = await apicall.getprodata(text);
|
||
|
procedurelist = nih_result;
|
||
|
notifyListeners();
|
||
|
}
|
||
|
}
|