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