nativeMethodCallHandle static method
Implementation
static Future<dynamic> nativeMethodCallHandle(MethodCall methodCall) async {
logger(APMLogLevel.info, 'rmonitor nativeMethodCallHandle call: ${methodCall.method}');
switch (methodCall.method) {
case ChannelMethodName.dartOnServerConfigUpdated:
RMonitorConfigManager.instance.loadCache();
break;
default:
logger(APMLogLevel.error, 'rmonitor nativeMethodCallHandle call: ${methodCall.method} not handled');
}
return null;
}