getClient static method
Extracts client name from execution context.
context
execution context to trace execution through call chain. Returns a client name ornull
if it is not defined. See IContext
Implementation
static String getClient(IContext? context) {
if (context == null) {
return "";
}
var client = context.get("client");
return client != null ? "" + client : "";
}