DiscoverModule/lib/contacts_module/provider_class/medicalinsightprovider.dart

17 lines
393 B
Dart
Raw Normal View History

2024-10-07 12:41:28 +00:00
import 'package:discover_module/contacts_module/service.dart/service.dart';
2024-07-24 08:23:02 +00:00
import 'package:flutter/cupertino.dart';
class MediacalInsightProvider extends ChangeNotifier {
final callapi = Callapi();
List med = [];
List get trialsinfo => med;
medicalinsightdata() async {
final jsonres = await callapi.getallMedicalInsightdata();
med = jsonres;
notifyListeners();
}
}