userConnectedSources function

Future<List<VitalProvider>> userConnectedSources()

Implementation

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