Map<String, dynamic> renderProperties() { var properties = _renderPropertiesProvider != null ? _renderPropertiesProvider!() : null; properties ??= {}; return properties; }