getHealthAuthorityStatus method
Implementation
Future<AuthorityStatus?> getHealthAuthorityStatus(
HealthAppSubclassification subclassification) async {
var result = await _channel.invokeMethod(
'getHealthAuthorityStatus', subclassification.index);
return {
"0": AuthorityStatus.NotDetermined,
"1": AuthorityStatus.SharingDenied,
"2": AuthorityStatus.SharingAuthorized
}["$result"];
}