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