getTreatment method
Implementation
Future<String?> getTreatment(String key, Map<String, dynamic> attr) async {
Map<String, dynamic> attributes = {"key": key, "attributes": attr};
try {
return await _channel.invokeMethod('getTreatment', attributes);
} catch (e, st) {
print(e);
print(st);
return null;
}
}