18 lines
382 B
Dart
18 lines
382 B
Dart
|
import 'package:discover_module/service.dart/service.dart';
|
||
|
import 'package:flutter/cupertino.dart';
|
||
|
|
||
|
class SpekerEvalutionProvider extends ChangeNotifier {
|
||
|
final callapi = Callapi();
|
||
|
|
||
|
List speaker_data = [];
|
||
|
|
||
|
List get speaker => speaker_data;
|
||
|
|
||
|
getspeakerdata() async {
|
||
|
final data = await callapi.getSpeakerdata();
|
||
|
|
||
|
speaker_data = data;
|
||
|
notifyListeners();
|
||
|
}
|
||
|
}
|