core.Map<core.String, core.dynamic> toJson() => { if (componentConfig != null) 'componentConfig': componentConfig!, };