KonectarApp/lib/contacts_module/provider_class/medicalinsightprovider.dart

17 lines
393 B
Dart
Raw Normal View History

2024-10-08 12:01:59 +00:00
import 'package:konectar_events/contacts_module/service.dart/service.dart';
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();
}
}