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