17 lines
393 B
Dart
17 lines
393 B
Dart
|
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();
|
||
|
}
|
||
|
}
|