Map<String, Object?> toJson() => { ...super.toJson(), if (controlId != null) 'controlId': controlId, };