Future<T> getParam<T>(String key, {T defaultValue}) async => await _call('getParam', [nodeName, key], onError: () => defaultValue) as T;