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