userConnectedSources function
Implementation
Future<List<VitalProvider>> userConnectedSources() {
return VitalCorePlatform.instance.userConnectedSources().then((json) {
List data = jsonDecode(json);
return data.map((item) => VitalProvider.fromJson(item)).toList();
});
}